Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.306/2.306, allocations: 393.5 MB / 408.4 MB, free: 10.89 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.001322/0.001322, allocations: 187.8 kB / 0.4902 GB, free: 2.094 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.531/1.531, allocations: 223.2 MB / 0.7992 GB, free: 14.62 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.0009995/0.0009996, allocations: 102.8 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004241/0.000424, allocations: 14.28 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3591, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.5445, allocations: 150.8 MB / 1.376 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.5448, allocations: 71.97 kB / 1.377 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0203/0.5651, allocations: 6.876 MB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5652, allocations: 0 / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.5652, allocations: 8 kB / 1.383 GB, free: 11.68 MB / 0.8855 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.000916/0.5661, allocations: 0.6156 MB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5662, allocations: 12.56 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.5664, allocations: 35.67 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.567, allocations: 314.9 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.567, allocations: 20.38 kB / 1.384 GB, free: 10.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.445e-05/0.5671, allocations: 32 kB / 1.384 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.5676, allocations: 245 kB / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5676, allocations: 0 / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.5676, allocations: 12 kB / 1.385 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5676, allocations: 7.953 kB / 1.385 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/0.5679, allocations: 143.3 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.5692, allocations: 0.8201 MB / 1.385 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.5695, allocations: 198.5 kB / 1.386 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.5695, allocations: 4 kB / 1.386 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/0.57, allocations: 297.5 kB / 1.386 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=39): time 1.664e-06/0.57, allocations: 3.938 kB / 1.386 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39): time 0.0008327/0.5708, allocations: 0.5542 MB / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.5709, allocations: 132.5 kB / 1.387 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.5711, allocations: 235.9 kB / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.5712, allocations: 41.7 kB / 1.387 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5713, allocations: 129 kB / 1.387 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.5714, allocations: 75.11 kB / 1.387 GB, free: 7.535 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.5715, allocations: 19.94 kB / 1.387 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5716, allocations: 346.8 kB / 1.387 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.572, allocations: 232.3 kB / 1.388 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.5724, allocations: 312.8 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.5729, allocations: 359 kB / 1.388 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5729, allocations: 0 / 1.388 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001124/0.574, allocations: 0.7574 MB / 1.389 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.5741, allocations: 134.8 kB / 1.389 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5741, allocations: 4 kB / 1.389 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.5742, allocations: 4 kB / 1.389 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.5742, allocations: 19.92 kB / 1.389 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5743, allocations: 4 kB / 1.389 GB, free: 5.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/0.575, allocations: 155.8 kB / 1.389 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.5751, allocations: 75.84 kB / 1.389 GB, free: 5.023 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.0002207/0.5753, allocations: 194.4 kB / 1.39 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.5754, allocations: 27.72 kB / 1.39 GB, free: 4.797 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.576, allocations: 456.5 kB / 1.39 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.576, allocations: 4 kB / 1.39 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.5761, allocations: 4 kB / 1.39 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5761, allocations: 3.984 kB / 1.39 GB, free: 4.336 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/0.577, allocations: 0.8147 MB / 1.391 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.577, allocations: 4 kB / 1.391 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.09e-05/0.5771, allocations: 23.92 kB / 1.391 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5771, allocations: 7.938 kB / 1.391 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.5771, allocations: 8 kB / 1.391 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.5771, allocations: 4 kB / 1.391 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5771, allocations: 0 / 1.391 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.5777, allocations: 0.5031 MB / 1.391 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.5778, allocations: 108.7 kB / 1.392 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.5779, allocations: 12 kB / 1.392 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.5781, allocations: 11.98 kB / 1.392 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.5781, allocations: 23.97 kB / 1.392 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.5782, allocations: 16 kB / 1.392 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001872/0.5784, allocations: 182 kB / 1.392 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5784, allocations: 0 / 1.392 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004508/0.5788, allocations: 103.9 kB / 1.392 GB, free: 2.426 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.0002646/0.5791, allocations: 145.7 kB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.5802, allocations: 0.7395 MB / 1.393 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.5802, allocations: 0 / 1.393 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.5805, allocations: 203.8 kB / 1.393 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.5809, allocations: 56.92 kB / 1.393 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5822, allocations: 0.6539 MB / 1.394 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.5827, allocations: 0.7852 MB / 1.394 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.00021/0.5829, allocations: 86.88 kB / 1.394 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.583, allocations: 35.44 kB / 1.394 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of SimCode: time 3e-07/0.583, allocations: 0 / 1.394 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of Templates: time 0.009821/0.5928, allocations: 4.916 MB / 1.399 GB, free: 10.76 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches