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.001594/0.001594, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001762/0.001762, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.222/3.222, allocations: 0.49 GB / 0.7958 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002129/0.002129, allocations: 66.55 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002067/0.3626, allocations: 0.8369 MB / 1.328 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.3646, allocations: 1.525 MB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.3647, allocations: 4 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.3648, allocations: 15.8 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.3649, allocations: 43.64 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3662, allocations: 0.513 MB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000577/0.3667, allocations: 479.2 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3669, allocations: 25.67 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3671, allocations: 187.7 kB / 1.331 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3674, allocations: 179.5 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.3674, allocations: 40 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3675, allocations: 51.98 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.3676, allocations: 43.84 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.3678, allocations: 167.5 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.3683, allocations: 410.8 kB / 1.332 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3683, allocations: 0 / 1.332 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3683, allocations: 0 / 1.332 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3683, allocations: 0 / 1.332 GB, free: 12.98 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.0008165/0.3691, allocations: 0.58 MB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.3691, allocations: 8.031 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.3692, allocations: 32.78 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.3696, allocations: 202.2 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.3696, allocations: 24.36 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.3697, allocations: 28.38 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/0.37, allocations: 157.9 kB / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.37, allocations: 192 / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.37, allocations: 11.94 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.37, allocations: 3.938 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3701, allocations: 85.56 kB / 1.333 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.3711, allocations: 0.6789 MB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.3713, allocations: 86.48 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.3714, allocations: 40.84 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.3714, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.3716, allocations: 163.3 kB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.3716, allocations: 0 / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004708/0.3721, allocations: 244 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.3721, allocations: 55.41 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.3723, allocations: 182.7 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.3724, allocations: 37.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3725, allocations: 136.6 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.3725, allocations: 43.75 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.3727, allocations: 117.6 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3729, allocations: 322.8 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.3732, allocations: 155.9 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.3736, allocations: 242.1 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.3741, allocations: 405 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3741, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001035/0.3752, allocations: 0.6344 MB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.3753, allocations: 164.5 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3753, allocations: 15.88 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3753, allocations: 7.938 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.3754, allocations: 4 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3754, allocations: 7.938 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.3761, allocations: 140.1 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.3762, allocations: 31.98 kB / 1.336 GB, free: 7.602 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.0001805/0.3764, allocations: 158 kB / 1.337 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3764, allocations: 19.89 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.3765, allocations: 21.75 kB / 1.337 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3765, allocations: 7.984 kB / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3765, allocations: 0 / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3765, allocations: 0 / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.3771, allocations: 497.3 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3771, allocations: 0 / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.3771, allocations: 11.94 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3771, allocations: 0 / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3771, allocations: 8.094 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3771, allocations: 3.938 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3771, allocations: 0 / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.3775, allocations: 285.3 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.3775, allocations: 11.91 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3775, allocations: 7.984 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.3776, allocations: 8 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.3777, allocations: 23.91 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3777, allocations: 12 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.544e-05/0.3778, allocations: 115.2 kB / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3778, allocations: 0 / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003752/0.3781, allocations: 87.88 kB / 1.338 GB, free: 6.27 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.0001687/0.3783, allocations: 107.2 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00078/0.3791, allocations: 0.5476 MB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3791, allocations: 0 / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3792, allocations: 65.45 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3796, allocations: 60.56 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.3802, allocations: 361.7 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.3806, allocations: 0.7242 MB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.3807, allocations: 23.38 kB / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3807, allocations: 0 / 1.339 GB, free: 4.27 MB / 1.029 GB Notification: Performance of Templates: time 0.005856/0.3865, allocations: 3.343 MB / 1.343 GB, free: 0.957 MB / 1.029 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 -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] "" 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.741665376990568]