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.001573/0.001573, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001979/0.001979, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.09 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.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9605, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002175/0.9627, allocations: 1.041 MB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.9648, allocations: 1.446 MB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.9649, allocations: 7.156 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.9651, allocations: 24.7 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.761e-05/0.9652, allocations: 40.86 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.9666, allocations: 472.9 kB / 1.092 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008303/0.9675, allocations: 0.5386 MB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003616/0.9678, allocations: 130.7 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.9681, allocations: 204 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.9685, allocations: 194.6 kB / 1.093 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.9686, allocations: 53.36 kB / 1.093 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.9688, allocations: 64.06 kB / 1.093 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.9689, allocations: 55.98 kB / 1.093 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.9692, allocations: 195.8 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.97, allocations: 0.5206 MB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9701, allocations: 0 / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9701, allocations: 1.125 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.9701, allocations: 0 / 1.093 GB, free: 2.684 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.001006/0.9711, allocations: 0.6857 MB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.9712, allocations: 13.22 kB / 1.094 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.9713, allocations: 41.05 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/0.9723, allocations: 358 kB / 1.095 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.9724, allocations: 23.62 kB / 1.095 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/0.9725, allocations: 31.36 kB / 1.095 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.973, allocations: 238.8 kB / 1.095 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.973, allocations: 0 / 1.095 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.973, allocations: 7.984 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.9731, allocations: 4.25 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.9733, allocations: 149.6 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.9748, allocations: 0.7607 MB / 1.096 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.9751, allocations: 190.9 kB / 1.096 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.9754, allocations: 205.6 kB / 1.096 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.9755, allocations: 2.125 kB / 1.096 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.9759, allocations: 244.9 kB / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.9759, allocations: 0 / 1.096 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007756/0.9766, allocations: 422 kB / 1.097 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.9767, allocations: 120.3 kB / 1.097 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.977, allocations: 287.8 kB / 1.097 GB, free: 496 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.9771, allocations: 39.02 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.9772, allocations: 170.8 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.9772, allocations: 58 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.9775, allocations: 138.3 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9776, allocations: 339.6 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.978, allocations: 202.9 kB / 1.098 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.9785, allocations: 330.6 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.9792, allocations: 0.5235 MB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9792, allocations: 1.156 kB / 1.099 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001212/0.9804, allocations: 0.7132 MB / 1.1 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.9805, allocations: 128.8 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9805, allocations: 3.25 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9806, allocations: 5.5 kB / 1.1 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.9807, allocations: 28.27 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.9807, allocations: 6.516 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/0.9814, allocations: 136.1 kB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.9816, allocations: 68.34 kB / 1.1 GB, free: 14.73 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.0002301/0.9818, allocations: 180.8 kB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.9819, allocations: 33.84 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/0.9825, allocations: 361.3 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.9825, allocations: 4.219 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9825, allocations: 4 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.9825, allocations: 6.406 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.9835, allocations: 0.7058 MB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.9836, allocations: 4 kB / 1.101 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.024e-05/0.9837, allocations: 22.25 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.9837, allocations: 5.062 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.9837, allocations: 9.047 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9837, allocations: 0.8125 kB / 1.101 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9837, allocations: 5.25 kB / 1.101 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.9843, allocations: 413.9 kB / 1.102 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.9844, allocations: 105.6 kB / 1.102 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.9845, allocations: 11.91 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.9846, allocations: 9.984 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.9847, allocations: 21.25 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.9847, allocations: 13.66 kB / 1.102 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000248/0.985, allocations: 191.5 kB / 1.102 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.985, allocations: 7.938 kB / 1.102 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000443/0.9854, allocations: 88.11 kB / 1.102 GB, free: 13.47 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.0002111/0.9857, allocations: 128.8 kB / 1.102 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009199/0.9866, allocations: 0.6604 MB / 1.103 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9866, allocations: 1.312 kB / 1.103 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.9868, allocations: 142.6 kB / 1.103 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.9873, allocations: 58.72 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.9882, allocations: 0.5414 MB / 1.104 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.9886, allocations: 0.7622 MB / 1.104 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.9886, allocations: 34.97 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/0.9886, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.0095/0.9981, allocations: 4.429 MB / 1.109 GB, free: 11.4 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/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