Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 183.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 390.3 MB / 0.6653 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 64.31 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2496, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002375/0.252, allocations: 1.032 MB / 0.9513 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.254, allocations: 1.452 MB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.2541, allocations: 7.938 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.2543, allocations: 27.67 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2545, allocations: 43.58 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2556, allocations: 466.1 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005737/0.2562, allocations: 0.5193 MB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.2565, allocations: 139.4 kB / 0.9539 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.2568, allocations: 203.6 kB / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.257, allocations: 171.4 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.2571, allocations: 48 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2573, allocations: 67.92 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.2574, allocations: 63.78 kB / 0.9544 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.2576, allocations: 195.2 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000511/0.2581, allocations: 0.5027 MB / 0.9551 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2581, allocations: 8 kB / 0.9551 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2581, allocations: 0 / 0.9551 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2582, allocations: 0 / 0.9551 GB, free: 3.969 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009245/0.2591, allocations: 0.6928 MB / 0.9558 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2591, allocations: 8.031 kB / 0.9558 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2592, allocations: 36.66 kB / 0.9558 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.2602, allocations: 372 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.2603, allocations: 28.73 kB / 0.9562 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.408e-05/0.2604, allocations: 32.38 kB / 0.9562 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.2607, allocations: 232.5 kB / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2607, allocations: 4 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.2608, allocations: 8 kB / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2608, allocations: 4 kB / 0.9564 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.261, allocations: 147.3 kB / 0.9566 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.2622, allocations: 0.7692 MB / 0.9573 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.2625, allocations: 187.6 kB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.2627, allocations: 210.6 kB / 0.9577 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.2627, allocations: 0 / 0.9577 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.263, allocations: 243.8 kB / 0.958 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.2631, allocations: 3.938 kB / 0.958 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.000657/0.2637, allocations: 423 kB / 0.9584 GB, free: 416 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2638, allocations: 110.8 kB / 0.9585 GB, free: 280 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.2641, allocations: 290.3 kB / 0.9587 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.2641, allocations: 37.7 kB / 0.9588 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2643, allocations: 164.6 kB / 0.9589 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.2644, allocations: 67.19 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.2646, allocations: 141.5 kB / 0.9591 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2647, allocations: 342.8 kB / 0.9595 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.2651, allocations: 196.7 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.2655, allocations: 319.7 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.2661, allocations: 0.5232 MB / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2661, allocations: 7.938 kB / 0.9605 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001079/0.2672, allocations: 0.7089 MB / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/0.2673, allocations: 123.2 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2673, allocations: 8 kB / 0.9613 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2673, allocations: 4 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.509e-05/0.2674, allocations: 27.86 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2674, allocations: 4 kB / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.2681, allocations: 135.4 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.2682, allocations: 67.91 kB / 0.9615 GB, free: 12.93 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002476/0.2685, allocations: 199.6 kB / 0.9617 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.2685, allocations: 27.62 kB / 0.9617 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.2691, allocations: 349.2 kB / 0.9621 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2691, allocations: 4 kB / 0.9621 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2691, allocations: 0 / 0.9621 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.2691, allocations: 7.922 kB / 0.9621 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.27, allocations: 0.7167 MB / 0.9628 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.27, allocations: 0 / 0.9628 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.2701, allocations: 15.98 kB / 0.9628 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.2701, allocations: 7.938 kB / 0.9628 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.2702, allocations: 11.98 kB / 0.9628 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2702, allocations: 4 kB / 0.9628 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2702, allocations: 7.938 kB / 0.9628 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.2706, allocations: 407.6 kB / 0.9632 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2707, allocations: 108.7 kB / 0.9633 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.2707, allocations: 15.84 kB / 0.9633 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.2709, allocations: 15.92 kB / 0.9633 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.2709, allocations: 19.97 kB / 0.9634 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.271, allocations: 12 kB / 0.9634 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000164/0.2711, allocations: 190 kB / 0.9636 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2711, allocations: 0 / 0.9636 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004217/0.2716, allocations: 87.98 kB / 0.9636 GB, free: 10.66 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.2718, allocations: 125.4 kB / 0.9638 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00094/0.2727, allocations: 0.6967 MB / 0.9644 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2727, allocations: 0 / 0.9644 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.2729, allocations: 135.9 kB / 0.9646 GB, free: 9.645 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.2734, allocations: 65.33 kB / 0.9646 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00083/0.2742, allocations: 0.5535 MB / 0.9652 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2745, allocations: 0.7649 MB / 0.9659 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2746, allocations: 35.42 kB / 0.966 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.2746, allocations: 0 / 0.966 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of Templates: time 0.006998/0.2816, allocations: 4.388 MB / 0.9702 GB, free: 3.809 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches