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.001706/0.001706, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002094/0.002094, allocations: 218.7 kB / 23.01 MB, free: 4.605 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.317/3.317, allocations: 0.505 GB / 0.8108 GB, free: 22 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.00211/0.00211, allocations: 75.91 kB / 1.178 GB, free: 16.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0021/0.3413, allocations: 0.8453 MB / 1.355 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3433, allocations: 1.51 MB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.3434, allocations: 7.938 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.3435, allocations: 15.8 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.3435, allocations: 35.72 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3448, allocations: 0.5255 MB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006691/0.3454, allocations: 479.2 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3456, allocations: 25.67 kB / 1.357 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3458, allocations: 187.7 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.3462, allocations: 179.5 kB / 1.358 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.3462, allocations: 40 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.3464, allocations: 55.98 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.006e-05/0.3464, allocations: 39.91 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.3467, allocations: 163.5 kB / 1.358 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.3473, allocations: 418.6 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.3473, allocations: 4 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3473, allocations: 0 / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3473, allocations: 0 / 1.358 GB, free: 3.457 MB / 1.045 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.0009793/0.3483, allocations: 0.5761 MB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.3484, allocations: 12.03 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3485, allocations: 28.84 kB / 1.359 GB, free: 2.777 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.3489, allocations: 214.1 kB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.3489, allocations: 16.38 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.349, allocations: 32.36 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.3493, allocations: 151.8 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3494, allocations: 4.172 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.3494, allocations: 15.88 kB / 1.36 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3494, allocations: 4 kB / 1.36 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3496, allocations: 83.75 kB / 1.36 GB, free: 2.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009974/0.3506, allocations: 0.6673 MB / 1.36 GB, free: 1.516 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3508, allocations: 82.55 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.151e-05/0.3509, allocations: 48.83 kB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3509, allocations: 192 / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.3512, allocations: 159.2 kB / 1.361 GB, free: 1.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.3512, allocations: 0 / 1.361 GB, free: 1.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.000483/0.3517, allocations: 243.4 kB / 1.361 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.3518, allocations: 63.39 kB / 1.361 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.352, allocations: 186.9 kB / 1.361 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.352, allocations: 37.7 kB / 1.361 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3522, allocations: 124.7 kB / 1.361 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.3523, allocations: 39.75 kB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.3524, allocations: 113.6 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.3527, allocations: 330.8 kB / 1.362 GB, free: 40 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.353, allocations: 151.9 kB / 1.362 GB, free: 15.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.3534, allocations: 242.2 kB / 1.362 GB, free: 15.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.3539, allocations: 410.5 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3539, allocations: 4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00105/0.3549, allocations: 0.6306 MB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.3551, allocations: 160.5 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3551, allocations: 7.938 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.3551, allocations: 4 kB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.034e-05/0.3552, allocations: 16.27 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3552, allocations: 4 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.3559, allocations: 131.7 kB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.356, allocations: 39.97 kB / 1.363 GB, free: 14.09 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.00023/0.3562, allocations: 157.5 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.3563, allocations: 19.86 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.3563, allocations: 21.75 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3563, allocations: 4 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.3563, allocations: 4.031 kB / 1.364 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3564, allocations: 11.98 kB / 1.364 GB, free: 13.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.357, allocations: 493.3 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.357, allocations: 0 / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.942e-05/0.3571, allocations: 4 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3571, allocations: 0 / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3571, allocations: 11.98 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3571, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3571, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.3575, allocations: 285 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.3575, allocations: 15.89 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3575, allocations: 8 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.3576, allocations: 4 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.3577, allocations: 19.97 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3577, allocations: 11.98 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001136/0.3578, allocations: 123.5 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000422/0.3582, allocations: 87.89 kB / 1.365 GB, free: 12.76 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.0001977/0.3584, allocations: 111.2 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008199/0.3592, allocations: 0.5437 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3592, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3594, allocations: 73.75 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3598, allocations: 54.44 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.3606, allocations: 359.2 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.361, allocations: 0.732 MB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.3611, allocations: 27.42 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3611, allocations: 0 / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of Templates: time 0.006531/0.3676, allocations: 3.338 MB / 1.37 GB, free: 7.438 MB / 1.061 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: 12.117202724999515]