Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001687/0.001687, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001912/0.001912, allocations: 162.7 kB / 23.01 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.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.71/2.71, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [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.002203/0.002203, allocations: 67.89 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3532, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002452/0.3556, allocations: 0.6375 MB / 1.118 GB, free: 1.863 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3575, allocations: 1.213 MB / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.3575, allocations: 0 / 1.119 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.433e-05/0.3575, allocations: 3.938 kB / 1.119 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.3576, allocations: 11.88 kB / 1.119 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007171/0.3583, allocations: 211.4 kB / 1.119 GB, free: 428 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.3586, allocations: 171.7 kB / 1.12 GB, free: 256 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3587, allocations: 15.92 kB / 1.12 GB, free: 240 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3588, allocations: 63.91 kB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3589, allocations: 59.84 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.359, allocations: 12 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.3591, allocations: 27.98 kB / 1.12 GB, free: 76 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3591, allocations: 7.938 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.3592, allocations: 55.88 kB / 1.12 GB, free: 12 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.3594, allocations: 155.5 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3594, allocations: 3.938 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3594, allocations: 0 / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3595, allocations: 3.938 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005438/0.36, allocations: 361.6 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.36, allocations: 8.031 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.3601, allocations: 12.92 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3602, allocations: 114.5 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3602, allocations: 8.375 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3603, allocations: 12.36 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3604, allocations: 50.23 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3604, allocations: 192 / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3604, allocations: 3.938 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3604, allocations: 0 / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.3604, allocations: 19.94 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.3609, allocations: 268.5 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.188e-05/0.361, allocations: 38.56 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.361, allocations: 12.8 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.361, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.3611, allocations: 87.34 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3611, allocations: 0 / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002551/0.3614, allocations: 113.6 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3615, allocations: 55.41 kB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.3616, allocations: 117.8 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3616, allocations: 33.7 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.3617, allocations: 92.12 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3617, allocations: 15.91 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.3618, allocations: 45.69 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3619, allocations: 322.8 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3621, allocations: 115.4 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3623, allocations: 155.4 kB / 1.122 GB, free: 13.61 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.3625, allocations: 171.6 kB / 1.122 GB, free: 13.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3625, allocations: 4 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004713/0.363, allocations: 328.2 kB / 1.122 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/0.363, allocations: 63.39 kB / 1.123 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.363, allocations: 7.938 kB / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3631, allocations: 0 / 1.123 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-05/0.3631, allocations: 11.94 kB / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3631, allocations: 0 / 1.123 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.3634, allocations: 59.95 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.3635, allocations: 11.98 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001217/0.3636, allocations: 125.8 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.3636, allocations: 4 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.3636, allocations: 8.438 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3636, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3637, allocations: 0 / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3637, allocations: 3.984 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3638, allocations: 125.2 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3638, allocations: 0 / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.998e-06/0.3638, allocations: 4.062 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3638, allocations: 3.938 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3638, allocations: 4 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3638, allocations: 0 / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3638, allocations: 0 / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.364, allocations: 117 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.364, allocations: 7.953 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.364, allocations: 3.984 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.364, allocations: 8 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3641, allocations: 4 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.3641, allocations: 7.984 kB / 1.123 GB, free: 12.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.3641, allocations: 91.22 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002321/0.3644, allocations: 31.98 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001485/0.3645, allocations: 109.4 kB / 1.123 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.3649, allocations: 274.1 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3649, allocations: 256 / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.3649, allocations: 28 kB / 1.124 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3652, allocations: 18.27 kB / 1.124 GB, free: 11.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.3655, allocations: 158.8 kB / 1.124 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.24e-05/0.3656, allocations: 75.27 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.3656, allocations: 4 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.3656, allocations: 12.5 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.3656, allocations: 4 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of Templates: time 0.005109/0.3707, allocations: 2.049 MB / 1.126 GB, free: 9.535 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.867066637030803]