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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001236, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001339/0.001339, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003902, allocations: 8 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8592, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001291/0.8605, allocations: 0.7064 MB / 1.022 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.8623, allocations: 1.366 MB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.8624, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.8625, allocations: 19.8 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.8626, allocations: 39.86 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009988/0.8636, allocations: 408.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.8639, allocations: 256.2 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.8642, allocations: 97.98 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.8643, allocations: 151.6 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.8645, allocations: 135.5 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.8646, allocations: 24 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.8647, allocations: 31.97 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.8647, allocations: 39.84 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.8648, allocations: 77.58 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.8652, allocations: 377 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.8652, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8652, allocations: 0 / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.8652, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 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.0006542/0.8659, allocations: 0.6069 MB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8659, allocations: 11.98 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.866, allocations: 47.61 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.867, allocations: 358.7 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.867, allocations: 28.31 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.8671, allocations: 39.94 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.8675, allocations: 228.3 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.8675, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.8675, allocations: 15.98 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8675, allocations: 7.984 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.8677, allocations: 139.3 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.869, allocations: 0.7616 MB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.8692, allocations: 194.4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.8693, allocations: 3.938 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.8696, allocations: 239.8 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.402e-06/0.8696, allocations: 0 / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006337/0.8702, allocations: 422.3 kB / 1.027 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.8703, allocations: 118.8 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.8706, allocations: 278.7 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.8706, allocations: 41.7 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.8708, allocations: 156.7 kB / 1.028 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.8708, allocations: 59.25 kB / 1.028 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.8709, allocations: 16 kB / 1.028 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.871, allocations: 342.8 kB / 1.028 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.8713, allocations: 200.3 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.8717, allocations: 312.3 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.8722, allocations: 336 kB / 1.029 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8722, allocations: 4 kB / 1.029 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001009/0.8732, allocations: 0.7169 MB / 1.03 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.485e-05/0.8733, allocations: 122.8 kB / 1.03 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8733, allocations: 7.984 kB / 1.03 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8733, allocations: 4.406 kB / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.965e-05/0.8734, allocations: 23.92 kB / 1.03 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.8734, allocations: 11.94 kB / 1.03 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.8741, allocations: 177.9 kB / 1.03 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.8742, allocations: 63.92 kB / 1.03 GB, free: 6.973 MB / 0.7794 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],extIndBoo.u[2],extIndBoo.u[3],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,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.8745, allocations: 193.6 kB / 1.03 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.8745, allocations: 23.72 kB / 1.031 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005122/0.875, allocations: 356.2 kB / 1.031 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.875, allocations: 4 kB / 1.031 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8751, allocations: 0 / 1.031 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8751, allocations: 0 / 1.031 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.876, allocations: 0.7211 MB / 1.032 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.876, allocations: 0 / 1.032 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.8761, allocations: 19.92 kB / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8761, allocations: 3.938 kB / 1.032 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.8762, allocations: 12 kB / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.8762, allocations: 0 / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8762, allocations: 0 / 1.032 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.8766, allocations: 415.3 kB / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.8767, allocations: 112.7 kB / 1.032 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.8768, allocations: 8 kB / 1.032 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.8769, allocations: 15.97 kB / 1.032 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.877, allocations: 19.97 kB / 1.032 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.877, allocations: 12 kB / 1.032 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001883/0.8772, allocations: 193.9 kB / 1.032 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8772, allocations: 0 / 1.032 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004508/0.8777, allocations: 91.89 kB / 1.032 GB, free: 4.695 MB / 0.7794 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 (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.0002123/0.8779, allocations: 121.4 kB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008864/0.8788, allocations: 0.6574 MB / 1.033 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8788, allocations: 0 / 1.033 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.879, allocations: 140.7 kB / 1.033 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.8794, allocations: 51.23 kB / 1.033 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.8803, allocations: 0.5568 MB / 1.034 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.8807, allocations: 0.769 MB / 1.035 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.8808, allocations: 66.92 kB / 1.035 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.8809, allocations: 39.42 kB / 1.035 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.8809, allocations: 0 / 1.035 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of Templates: time 0.01018/0.8911, allocations: 4.551 MB / 1.039 GB, free: 13.71 MB / 0.795 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