Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001883/0.001883, allocations: 110.6 kB / 17.08 MB, free: 6.012 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.00218/0.00218, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.744/2.744, allocations: 437.1 MB / 0.7177 GB, free: 4.453 MB / 0.5606 GB " [Timeout remaining time 177] 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.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 75.88 kB / 1.028 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 151.6 MB / 1.176 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002705/0.3384, allocations: 0.848 MB / 1.177 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.3412, allocations: 1.475 MB / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.3414, allocations: 4 kB / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.3416, allocations: 15.8 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3418, allocations: 31.7 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3434, allocations: 0.5118 MB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000892/0.3443, allocations: 0.5031 MB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.3445, allocations: 45.48 kB / 1.179 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.3449, allocations: 175.7 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003957/0.3453, allocations: 179.4 kB / 1.18 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.3455, allocations: 40 kB / 1.18 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.3457, allocations: 59.92 kB / 1.18 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.3457, allocations: 47.83 kB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.346, allocations: 159.5 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006932/0.3467, allocations: 410.8 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3467, allocations: 4 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.524e-06/0.3468, allocations: 0 / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.3468, allocations: 4 kB / 1.18 GB, free: 1.32 MB / 0.92 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.00119/0.348, allocations: 0.6436 MB / 1.181 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.348, allocations: 11.98 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3482, allocations: 32.83 kB / 1.181 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3486, allocations: 269 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.3486, allocations: 16.38 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/0.3487, allocations: 32.38 kB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.349, allocations: 155.7 kB / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3491, allocations: 192 / 1.181 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.3491, allocations: 7.922 kB / 1.181 GB, free: 32 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3491, allocations: 7.938 kB / 1.181 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.3493, allocations: 79.95 kB / 1.181 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3504, allocations: 0.7033 MB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.3506, allocations: 171.6 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.3507, allocations: 40.84 kB / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3508, allocations: 0 / 1.182 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.3511, allocations: 159.2 kB / 1.183 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.083e-06/0.3511, allocations: 0 / 1.183 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0005403/0.3517, allocations: 252.5 kB / 1.183 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3517, allocations: 55.41 kB / 1.183 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.352, allocations: 186.2 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-05/0.352, allocations: 45.69 kB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3522, allocations: 120.6 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3522, allocations: 35.77 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.3525, allocations: 117.7 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3527, allocations: 334.8 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.353, allocations: 156 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.3534, allocations: 250.9 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.354, allocations: 416.4 kB / 1.184 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.354, allocations: 0 / 1.184 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001105/0.3551, allocations: 0.6207 MB / 1.185 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.3553, allocations: 164.5 kB / 1.185 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3553, allocations: 7.938 kB / 1.185 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3553, allocations: 4 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.955e-05/0.3553, allocations: 7.938 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3554, allocations: 7.984 kB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.3562, allocations: 139.7 kB / 1.185 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.3563, allocations: 31.98 kB / 1.185 GB, free: 11.66 MB / 0.9356 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.000207/0.3565, allocations: 157.6 kB / 1.185 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3565, allocations: 23.86 kB / 1.186 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.3566, allocations: 25.75 kB / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3566, allocations: 0 / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3566, allocations: 0 / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3566, allocations: 0 / 1.186 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007128/0.3573, allocations: 0.5061 MB / 1.186 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3574, allocations: 0 / 1.186 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.3574, allocations: 7.938 kB / 1.186 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3574, allocations: 4 kB / 1.186 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3574, allocations: 3.984 kB / 1.186 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3574, allocations: 4 kB / 1.186 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3574, allocations: 4 kB / 1.186 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.3578, allocations: 280.7 kB / 1.186 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.3579, allocations: 93 kB / 1.186 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.3579, allocations: 4 kB / 1.186 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.358, allocations: 4 kB / 1.186 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3581, allocations: 23.97 kB / 1.186 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3581, allocations: 11.98 kB / 1.186 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001035/0.3582, allocations: 120.2 kB / 1.187 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3582, allocations: 0 / 1.187 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005924/0.3588, allocations: 83.88 kB / 1.187 GB, free: 10.22 MB / 0.9356 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.0002014/0.359, allocations: 115.3 kB / 1.187 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009102/0.3599, allocations: 0.63 MB / 1.187 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3599, allocations: 0 / 1.187 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.3601, allocations: 79.91 kB / 1.187 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.3606, allocations: 58.56 kB / 1.188 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.3613, allocations: 361.7 kB / 1.188 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3617, allocations: 0.7281 MB / 1.189 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.3618, allocations: 15.44 kB / 1.189 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.3618, allocations: 0 / 1.189 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of Templates: time 0.007191/0.369, allocations: 3.335 MB / 1.192 GB, free: 4.812 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.27771441405639]