Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001662/0.001662, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002003/0.002003, allocations: 212.8 kB / 22.99 MB, free: 4.957 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002056/0.002056, allocations: 71.86 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3477, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001959/0.3496, allocations: 0.8004 MB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3516, allocations: 1.502 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.3516, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.3517, allocations: 23.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.3518, allocations: 31.72 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.3531, allocations: 0.5193 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.3536, allocations: 475.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3538, allocations: 33.66 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.354, allocations: 187.7 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3543, allocations: 175.5 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.3543, allocations: 40 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3545, allocations: 55.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.3545, allocations: 35.92 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3547, allocations: 147.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.3552, allocations: 422.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3552, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3552, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.3552, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 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.0008309/0.356, allocations: 0.58 MB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3561, allocations: 8.031 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3562, allocations: 32.84 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3565, allocations: 198.2 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3566, allocations: 20.36 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.3566, allocations: 28.38 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.3569, allocations: 151.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3569, allocations: 4.188 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3569, allocations: 7.938 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3569, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.3571, allocations: 83.88 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.3579, allocations: 0.5703 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.3582, allocations: 86.48 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.3583, allocations: 44.97 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3583, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.3586, allocations: 156.9 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.3586, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004773/0.359, allocations: 254.2 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3591, allocations: 63.39 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.3593, allocations: 182.7 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.3593, allocations: 41.69 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3595, allocations: 124.6 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.3595, allocations: 39.75 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3597, allocations: 117.6 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3599, allocations: 326.8 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.3603, allocations: 312.3 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/0.3608, allocations: 394.6 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.3613, allocations: 410.5 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3613, allocations: 0 / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001136/0.3624, allocations: 0.7871 MB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.3625, allocations: 156.5 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3626, allocations: 4 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.3626, allocations: 7.938 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.3626, allocations: 11.92 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3626, allocations: 4.344 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000759/0.3634, allocations: 143.8 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.3635, allocations: 31.97 kB / 1.337 GB, free: 6.773 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.0001942/0.3637, allocations: 166 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3637, allocations: 15.91 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3637, allocations: 17.81 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3637, allocations: 7.938 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3637, allocations: 0 / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3637, allocations: 3.984 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.3643, allocations: 435.5 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3643, allocations: 3.984 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.3643, allocations: 8 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3643, allocations: 7.875 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3643, allocations: 8 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3643, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3643, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3647, allocations: 280.9 kB / 1.338 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3647, allocations: 15.84 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3647, allocations: 7.984 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.742e-05/0.3648, allocations: 8.078 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.3648, allocations: 23.91 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.3648, allocations: 12 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.576e-05/0.3649, allocations: 115.2 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3649, allocations: 0 / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003629/0.3653, allocations: 95.81 kB / 1.338 GB, free: 5.5 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.0001657/0.3655, allocations: 109.9 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008429/0.3663, allocations: 0.6932 MB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3663, allocations: 0 / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3664, allocations: 67.97 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3669, allocations: 47.95 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.3674, allocations: 329.9 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.3676, allocations: 124.1 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.3676, allocations: 25.47 kB / 1.339 GB, free: 3.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.3677, allocations: 15.44 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.3677, allocations: 0 / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of Templates: time 0.009653/0.3773, allocations: 5.249 MB / 1.344 GB, free: 14.83 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.82698716998857]