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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.645/2.645, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 183.9 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009597/0.0009593, allocations: 98.27 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004218, allocations: 11.31 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.5335, allocations: 150 MB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5338, allocations: 71.95 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01912/0.553, allocations: 6.881 MB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.553, allocations: 0 / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.553, allocations: 12 kB / 1.376 GB, free: 5.051 MB / 0.8698 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.0007523/0.5538, allocations: 0.6109 MB / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5538, allocations: 8.031 kB / 1.377 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.554, allocations: 43.58 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.5545, allocations: 307 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.5545, allocations: 20.38 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.5546, allocations: 39.98 kB / 1.377 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.555, allocations: 228.5 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.555, allocations: 7.938 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.555, allocations: 8 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5551, allocations: 7.953 kB / 1.377 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.5553, allocations: 151.2 kB / 1.378 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.5565, allocations: 0.8162 MB / 1.378 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.5567, allocations: 198.5 kB / 1.379 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.5568, allocations: 4 kB / 1.379 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/0.5572, allocations: 298.8 kB / 1.379 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.5572, allocations: 4 kB / 1.379 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.0007984/0.558, allocations: 0.5409 MB / 1.379 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.5581, allocations: 136.5 kB / 1.379 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.5583, allocations: 228 kB / 1.38 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.5584, allocations: 41.7 kB / 1.38 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.5585, allocations: 133 kB / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.5585, allocations: 79.09 kB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.5586, allocations: 19.98 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5587, allocations: 346.8 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.5591, allocations: 220.3 kB / 1.381 GB, free: 344 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.5595, allocations: 324.7 kB / 1.381 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.56, allocations: 354.7 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.56, allocations: 0 / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001072/0.561, allocations: 0.7579 MB / 1.382 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.5611, allocations: 138.7 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5612, allocations: 0 / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5612, allocations: 8 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.5613, allocations: 19.92 kB / 1.382 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.5613, allocations: 4 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.5619, allocations: 159.8 kB / 1.382 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.5621, allocations: 83.83 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.5623, allocations: 185.7 kB / 1.382 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.5623, allocations: 31.62 kB / 1.383 GB, free: 14.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.5629, allocations: 444.7 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5629, allocations: 4 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.563, allocations: 4 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.563, allocations: 3.984 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008523/0.5638, allocations: 0.8224 MB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5638, allocations: 4 kB / 1.384 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.5639, allocations: 19.92 kB / 1.384 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5639, allocations: 4 kB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.564, allocations: 12 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.564, allocations: 4 kB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.564, allocations: 0 / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.5645, allocations: 0.5069 MB / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.5646, allocations: 104.7 kB / 1.384 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.5647, allocations: 12 kB / 1.384 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5648, allocations: 15.98 kB / 1.384 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.5649, allocations: 23.97 kB / 1.384 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.5649, allocations: 19.98 kB / 1.384 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00015/0.5651, allocations: 178 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5651, allocations: 0 / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003816/0.5654, allocations: 99.98 kB / 1.385 GB, free: 11.81 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo.u[1],extIndBoo.u[2],extIndBoo.u[3],extIndBoo.u[4],extIndBoo.y,extIndBoo1.u[1],extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.u[4],extIndBoo1.y,extIndBoo2.u[1],extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.u[4],extIndBoo2.y,extIndBoo3.index,extIndBoo3.u[1],extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.u[4],extIndBoo3.y,extIndBoo4.index,extIndBoo4.u[1],extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.u[4],extIndBoo4.y,booPul.y,booPul1.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.5657, allocations: 149.5 kB / 1.385 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008789/0.5665, allocations: 0.7396 MB / 1.386 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5666, allocations: 0 / 1.386 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.5668, allocations: 199.7 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.5672, allocations: 60.92 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/0.5681, allocations: 0.6501 MB / 1.386 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.5685, allocations: 0.7812 MB / 1.387 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.5687, allocations: 90.88 kB / 1.387 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.5687, allocations: 39.42 kB / 1.387 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.5687, allocations: 0 / 1.387 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of Templates: time 0.008607/0.5774, allocations: 4.912 MB / 1.392 GB, free: 4.148 MB / 0.8855 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches