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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 215.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.237/3.237, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 68.61 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002119/0.3636, allocations: 0.8049 MB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3657, allocations: 1.503 MB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.3658, allocations: 0 / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3659, allocations: 19.73 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.366, allocations: 35.72 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3673, allocations: 0.519 MB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.3678, allocations: 471.3 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.368, allocations: 21.67 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.3682, allocations: 199.6 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.3685, allocations: 151.5 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.895e-05/0.3686, allocations: 44 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3687, allocations: 55.98 kB / 1.368 GB, free: 9.758 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.3688, allocations: 39.91 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.369, allocations: 147.6 kB / 1.369 GB, free: 9.574 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.3694, allocations: 410.8 kB / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3694, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3694, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.3694, allocations: 0 / 1.369 GB, free: 9.172 MB / 1.061 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.0008197/0.3703, allocations: 0.5838 MB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3703, allocations: 12.03 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.3704, allocations: 36.72 kB / 1.37 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.3708, allocations: 202.7 kB / 1.37 GB, free: 8.254 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3708, allocations: 24.36 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.442e-05/0.3709, allocations: 28.38 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3711, allocations: 157.5 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3711, allocations: 192 / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3712, allocations: 7.938 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3712, allocations: 0 / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.3713, allocations: 79.95 kB / 1.37 GB, free: 7.953 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.3722, allocations: 0.5704 MB / 1.371 GB, free: 7.348 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.3724, allocations: 90.48 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.3725, allocations: 36.84 kB / 1.371 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.3725, allocations: 4 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.3728, allocations: 159.4 kB / 1.371 GB, free: 7.039 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.3728, allocations: 0 / 1.371 GB, free: 7.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005093/0.3733, allocations: 250.8 kB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3734, allocations: 55.41 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3735, allocations: 182.1 kB / 1.371 GB, free: 6.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.3736, allocations: 45.7 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3737, allocations: 120.7 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3738, allocations: 47.69 kB / 1.372 GB, free: 6.316 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.374, allocations: 121.6 kB / 1.372 GB, free: 6.191 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3741, allocations: 326.8 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.3746, allocations: 308.4 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.3751, allocations: 398.6 kB / 1.373 GB, free: 5.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.3756, allocations: 408.8 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3756, allocations: 0 / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001183/0.3768, allocations: 0.7748 MB / 1.374 GB, free: 3.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.377, allocations: 168.5 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.377, allocations: 0 / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.377, allocations: 7.938 kB / 1.374 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.055e-05/0.377, allocations: 8 kB / 1.374 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.377, allocations: 12.27 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007799/0.3778, allocations: 139.7 kB / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.3779, allocations: 27.98 kB / 1.374 GB, free: 3.383 MB / 1.061 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.0001893/0.3781, allocations: 161.9 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3781, allocations: 19.89 kB / 1.374 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.3781, allocations: 21.81 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3781, allocations: 4.031 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3781, allocations: 3.938 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3782, allocations: 0 / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.3787, allocations: 439.6 kB / 1.375 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3787, allocations: 3.938 kB / 1.375 GB, free: 2.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.3787, allocations: 11.98 kB / 1.375 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3787, allocations: 3.938 kB / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3788, allocations: 0 / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3788, allocations: 4 kB / 1.375 GB, free: 2.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3788, allocations: 0 / 1.375 GB, free: 2.672 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3791, allocations: 281.4 kB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.3791, allocations: 23.73 kB / 1.375 GB, free: 2.359 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3791, allocations: 8 kB / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.3792, allocations: 0 / 1.375 GB, free: 2.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.3793, allocations: 31.94 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3793, allocations: 4 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001084/0.3794, allocations: 132.2 kB / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 0 / 1.375 GB, free: 2.188 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003699/0.3798, allocations: 79.94 kB / 1.375 GB, free: 2.109 MB / 1.061 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.0002216/0.38, allocations: 103.8 kB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009251/0.3809, allocations: 0.701 MB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3809, allocations: 3.938 kB / 1.376 GB, free: 1.203 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.381, allocations: 67.97 kB / 1.376 GB, free: 1.137 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.3815, allocations: 57.81 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.3822, allocations: 356.7 kB / 1.377 GB, free: 0.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.3823, allocations: 120.1 kB / 1.377 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.3823, allocations: 19.42 kB / 1.377 GB, free: 0.543 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3823, allocations: 3.938 kB / 1.377 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of Templates: time 0.00625/0.3886, allocations: 3.367 MB / 1.38 GB, free: 13.2 MB / 1.076 GB " [Timeout remaining time 300] 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/jenkins1/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] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 11.944947098847479]