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.008085/0.008085, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001639/0.001639, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.58/1.58, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.9552, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002311/0.9575, allocations: 1.047 MB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.9595, allocations: 1.455 MB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.99e-05/0.9596, allocations: 2.219 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.9598, allocations: 24.2 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.9599, allocations: 52.77 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.9611, allocations: 470.2 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.9618, allocations: 0.5261 MB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003267/0.9621, allocations: 139.2 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.9624, allocations: 204.4 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.9627, allocations: 191.2 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.785e-05/0.9628, allocations: 49.34 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.9629, allocations: 62.36 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.963, allocations: 69.16 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.9633, allocations: 190.5 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007113/0.964, allocations: 0.5137 MB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.964, allocations: 4 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.953e-06/0.964, allocations: 0.8438 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.964, allocations: 3.938 kB / 1.093 GB, free: 2.652 MB / 0.8575 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.0009525/0.965, allocations: 0.6893 MB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.9651, allocations: 10.58 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.9652, allocations: 39.44 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.9661, allocations: 358 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.9662, allocations: 24.3 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.9663, allocations: 35.78 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.9667, allocations: 234.2 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.9667, allocations: 0 / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.9668, allocations: 11.98 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.9668, allocations: 4 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.9671, allocations: 141.8 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.9685, allocations: 0.7635 MB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.9689, allocations: 184.7 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/0.9692, allocations: 209.3 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.9693, allocations: 7.453 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004169/0.9697, allocations: 243.1 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.9697, allocations: 0.6875 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0009048/0.9706, allocations: 427.1 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.9707, allocations: 111.9 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.971, allocations: 291.4 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.9711, allocations: 38.94 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.9713, allocations: 161.8 kB / 1.097 GB, free: 288 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.9714, allocations: 58.31 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003491/0.9717, allocations: 144.2 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.972, allocations: 338.2 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.9725, allocations: 198.7 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006657/0.9732, allocations: 327.5 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/0.9741, allocations: 0.5231 MB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9741, allocations: 1.188 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001368/0.9755, allocations: 0.7188 MB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.9756, allocations: 124.8 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9756, allocations: 7.5 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.9756, allocations: 6.297 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.9757, allocations: 29.41 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.9758, allocations: 4.906 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.9764, allocations: 131.5 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.9766, allocations: 65.03 kB / 1.099 GB, free: 14.7 MB / 0.8731 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.0002567/0.9768, allocations: 189.1 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.9769, allocations: 30.11 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.9775, allocations: 360.9 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.9775, allocations: 7.047 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9775, allocations: 1 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.9775, allocations: 5.906 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.9786, allocations: 0.7205 MB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.9786, allocations: 0.7188 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.9787, allocations: 15.48 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.9787, allocations: 4.562 kB / 1.1 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.9787, allocations: 8.672 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.9788, allocations: 1.562 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9788, allocations: 0.5 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.9794, allocations: 426.2 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.9795, allocations: 105.4 kB / 1.101 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.9796, allocations: 12.16 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.9797, allocations: 10.27 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.9798, allocations: 21.16 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.9798, allocations: 13.34 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002218/0.98, allocations: 192.6 kB / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.98, allocations: 0 / 1.101 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004347/0.9805, allocations: 86.97 kB / 1.101 GB, free: 13.44 MB / 0.8731 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.0002207/0.9807, allocations: 128.7 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009477/0.9817, allocations: 0.6599 MB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.9817, allocations: 1.25 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.9819, allocations: 141.8 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.9824, allocations: 65.7 kB / 1.102 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.9833, allocations: 0.5047 MB / 1.103 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.9837, allocations: 0.761 MB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000184/0.9839, allocations: 67.86 kB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.984, allocations: 36.06 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.984, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.01257/0.9966, allocations: 5.008 MB / 1.109 GB, free: 11.47 MB / 0.8731 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/jenkins/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