Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.5 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.u3|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 64.09 kB / 1.059 GB, free: 344 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3694, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001987/0.3714, allocations: 0.7128 MB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3732, allocations: 1.273 MB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.3732, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.3733, allocations: 15.86 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.3733, allocations: 15.86 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.3742, allocations: 310.3 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.3745, allocations: 259.6 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3746, allocations: 16.17 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3748, allocations: 103.8 kB / 1.219 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.375, allocations: 91.73 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.375, allocations: 24 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.3751, allocations: 35.98 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.3751, allocations: 19.91 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3752, allocations: 83.8 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3755, allocations: 215.3 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3755, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3755, allocations: 4 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3756, allocations: 0 / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007149/0.3763, allocations: 496.2 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3763, allocations: 11.97 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/0.3764, allocations: 16.89 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.3765, allocations: 180.2 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3766, allocations: 8.375 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.3766, allocations: 16.38 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3768, allocations: 54.23 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3768, allocations: 3.938 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3768, allocations: 0 / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3768, allocations: 11.94 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.3769, allocations: 15.98 kB / 1.22 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.3775, allocations: 424.4 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.3775, allocations: 30.58 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.3776, allocations: 20.92 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.3776, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.3778, allocations: 111.2 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3778, allocations: 0 / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0003251/0.3782, allocations: 137.5 kB / 1.221 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3782, allocations: 55.41 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3784, allocations: 136.6 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.3784, allocations: 37.7 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.3785, allocations: 92.14 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3785, allocations: 31.91 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3787, allocations: 65.67 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3789, allocations: 322.8 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3791, allocations: 87.95 kB / 1.221 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.3793, allocations: 136 kB / 1.222 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.3796, allocations: 231 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3796, allocations: 4 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006677/0.3803, allocations: 378.9 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-05/0.3804, allocations: 97.09 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3804, allocations: 4 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3804, allocations: 0 / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.728e-05/0.3805, allocations: 15.86 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.3805, allocations: 0 / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004951/0.381, allocations: 87.98 kB / 1.222 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.381, allocations: 19.98 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001457/0.3812, allocations: 129.8 kB / 1.223 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.3812, allocations: 7.953 kB / 1.223 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.3812, allocations: 16.3 kB / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3812, allocations: 0 / 1.223 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3812, allocations: 8 kB / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3812, allocations: 0 / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3814, allocations: 189.6 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3814, allocations: 0 / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.3815, allocations: 7.922 kB / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3815, allocations: 0 / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3815, allocations: 8 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3815, allocations: 0 / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3815, allocations: 0 / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.3817, allocations: 144.9 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.3817, allocations: 85 kB / 1.223 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3818, allocations: 4 kB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.3818, allocations: 4 kB / 1.223 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.3818, allocations: 7.984 kB / 1.223 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3818, allocations: 8 kB / 1.223 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.929e-05/0.3819, allocations: 99.27 kB / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3819, allocations: 0 / 1.223 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002819/0.3822, allocations: 51.94 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001892/0.3824, allocations: 109.1 kB / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.3829, allocations: 326 kB / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3829, allocations: 0 / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.383, allocations: 39.95 kB / 1.224 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3832, allocations: 24.36 kB / 1.224 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3837, allocations: 194.8 kB / 1.224 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.384, allocations: 0.6924 MB / 1.224 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.384, allocations: 16.41 kB / 1.225 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.3841, allocations: 11.44 kB / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/0.3841, allocations: 0 / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of Templates: time 0.006355/0.3904, allocations: 2.652 MB / 1.227 GB, free: 3.547 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.667659424245358]