Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.00144/0.00144, allocations: 110 kB / 18.93 MB, free: 2.945 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.001558/0.001558, allocations: 192.2 kB / 22.23 MB, free: 5.16 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.572/1.572, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.401/3.401, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 62.86 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.475, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002329/0.4774, allocations: 0.8466 MB / 1.317 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.4798, allocations: 1.494 MB / 1.318 GB, free: 7.375 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.4799, allocations: 0 / 1.318 GB, free: 7.375 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.4801, allocations: 19.8 kB / 1.318 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.054e-05/0.4801, allocations: 35.7 kB / 1.318 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.4816, allocations: 0.5184 MB / 1.319 GB, free: 6.816 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006286/0.4822, allocations: 475.2 kB / 1.319 GB, free: 6.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.4824, allocations: 25.67 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.4826, allocations: 191.7 kB / 1.32 GB, free: 6.133 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.4829, allocations: 171.6 kB / 1.32 GB, free: 5.965 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.4831, allocations: 47.94 kB / 1.32 GB, free: 5.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4832, allocations: 51.98 kB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.4833, allocations: 43.91 kB / 1.32 GB, free: 5.824 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.4835, allocations: 159.5 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.4841, allocations: 418.6 kB / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4841, allocations: 0 / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4841, allocations: 0 / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4841, allocations: 0 / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001112/0.4852, allocations: 0.5684 MB / 1.321 GB, free: 4.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4853, allocations: 8.031 kB / 1.321 GB, free: 4.617 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.4854, allocations: 40.78 kB / 1.321 GB, free: 4.578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4858, allocations: 202.2 kB / 1.321 GB, free: 4.355 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.4858, allocations: 20.36 kB / 1.321 GB, free: 4.336 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/0.4859, allocations: 32.31 kB / 1.321 GB, free: 4.305 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.4862, allocations: 161.8 kB / 1.321 GB, free: 4.137 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4862, allocations: 192 / 1.321 GB, free: 4.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.4862, allocations: 7.938 kB / 1.321 GB, free: 4.129 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.4862, allocations: 4 kB / 1.321 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.4864, allocations: 87.88 kB / 1.321 GB, free: 4.039 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.4874, allocations: 0.6788 MB / 1.322 GB, free: 3.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4876, allocations: 86.55 kB / 1.322 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.4877, allocations: 40.97 kB / 1.322 GB, free: 3.176 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4877, allocations: 4 kB / 1.322 GB, free: 3.172 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.488, allocations: 151.2 kB / 1.322 GB, free: 3.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.488, allocations: 0 / 1.322 GB, free: 3.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.0005847/0.4886, allocations: 251.2 kB / 1.323 GB, free: 2.762 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.4886, allocations: 55.41 kB / 1.323 GB, free: 2.695 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.4889, allocations: 178.1 kB / 1.323 GB, free: 2.512 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.4889, allocations: 45.7 kB / 1.323 GB, free: 2.461 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.4891, allocations: 124.7 kB / 1.323 GB, free: 2.336 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.4891, allocations: 47.69 kB / 1.323 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.4893, allocations: 117.6 kB / 1.323 GB, free: 2.168 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4895, allocations: 322.8 kB / 1.324 GB, free: 1.844 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.4899, allocations: 159.9 kB / 1.324 GB, free: 1.688 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.4903, allocations: 238.1 kB / 1.324 GB, free: 1.418 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.4909, allocations: 417.4 kB / 1.324 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4909, allocations: 0 / 1.324 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001293/0.4922, allocations: 0.6265 MB / 1.325 GB, free: 288 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.4924, allocations: 168.5 kB / 1.325 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.4924, allocations: 3.938 kB / 1.325 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/0.4925, allocations: 7.984 kB / 1.325 GB, free: 76 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.4925, allocations: 11.94 kB / 1.325 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4925, allocations: 4.344 kB / 1.325 GB, free: 60 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/0.4934, allocations: 139.7 kB / 1.325 GB, free: 15.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.4935, allocations: 35.95 kB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002511/0.4938, allocations: 162.4 kB / 1.325 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.4938, allocations: 15.91 kB / 1.325 GB, free: 15.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.4939, allocations: 21.73 kB / 1.325 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4939, allocations: 4 kB / 1.325 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.4939, allocations: 0 / 1.325 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4939, allocations: 0 / 1.325 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.4948, allocations: 498.7 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4948, allocations: 7.875 kB / 1.326 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.4948, allocations: 7.984 kB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4948, allocations: 0 / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.4949, allocations: 8 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4949, allocations: 3.938 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4949, allocations: 0 / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.4953, allocations: 284.7 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.4954, allocations: 23.86 kB / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.4954, allocations: 0 / 1.326 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.4955, allocations: 11.98 kB / 1.326 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4956, allocations: 15.97 kB / 1.326 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.4956, allocations: 12 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001319/0.4958, allocations: 124.2 kB / 1.326 GB, free: 14.63 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4958, allocations: 0 / 1.326 GB, free: 14.63 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004276/0.4962, allocations: 79.92 kB / 1.326 GB, free: 14.55 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002557/0.4964, allocations: 119.9 kB / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009654/0.4974, allocations: 0.5515 MB / 1.327 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4974, allocations: 0 / 1.327 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.4975, allocations: 63.91 kB / 1.327 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.498, allocations: 51.23 kB / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/0.4988, allocations: 324.3 kB / 1.328 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.4993, allocations: 0.7242 MB / 1.328 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.276e-05/0.4994, allocations: 29.47 kB / 1.328 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.4994, allocations: 15.44 kB / 1.328 GB, free: 12.57 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4994, allocations: 0 / 1.328 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Templates: time 0.01219/0.5116, allocations: 4.643 MB / 1.333 GB, free: 7.988 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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: 9.870638500899076]