Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002236/0.002236, allocations: 103.6 kB / 18.95 MB, free: 2.664 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.002031/0.002031, allocations: 213.1 kB / 22.24 MB, free: 5.266 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.738 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.316/3.316, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_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_12_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.002176/0.002176, allocations: 70.3 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4464, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002407/0.4488, allocations: 0.648 MB / 1.326 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.4507, allocations: 1.194 MB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.4508, allocations: 0 / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.4508, allocations: 0 / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.4509, allocations: 15.86 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008194/0.4517, allocations: 218.9 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.452, allocations: 171.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.4521, allocations: 8 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.4523, allocations: 79.81 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.4524, allocations: 55.78 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.4525, allocations: 12 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.4526, allocations: 35.98 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.4526, allocations: 4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.4527, allocations: 63.81 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.4529, allocations: 147.6 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4529, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4529, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4529, allocations: 0 / 1.328 GB, free: 15.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006202/0.4536, allocations: 361.5 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4536, allocations: 8.031 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.4537, allocations: 8.938 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.4538, allocations: 118.5 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.4538, allocations: 12.31 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4539, allocations: 8.375 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.454, allocations: 58.17 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.454, allocations: 192 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.454, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.4541, allocations: 3.984 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.477e-05/0.4541, allocations: 20 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.4546, allocations: 264.5 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4548, allocations: 42.5 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.99e-05/0.4548, allocations: 12.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4548, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.455, allocations: 87.41 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.455, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002963/0.4553, allocations: 113.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.4554, allocations: 55.41 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4555, allocations: 117.8 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.4555, allocations: 29.7 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.4556, allocations: 92.12 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.4556, allocations: 15.91 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.4557, allocations: 45.69 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4559, allocations: 314.8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.4561, allocations: 123.4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.4563, allocations: 155.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.4565, allocations: 163.5 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4565, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005093/0.457, allocations: 324.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/0.4571, allocations: 63.39 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4571, allocations: 4.125 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4571, allocations: 7.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.637e-05/0.4571, allocations: 8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4571, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.4575, allocations: 51.89 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.4575, allocations: 11.98 kB / 1.331 GB, free: 12.29 MB / 1.029 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.0001348/0.4577, allocations: 133.7 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.4577, allocations: 4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.4577, allocations: 12.38 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4577, allocations: 480 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4577, allocations: 3.938 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4577, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.4579, allocations: 129.2 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4579, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-06/0.4579, allocations: 3.938 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4579, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4579, allocations: 4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4579, allocations: 0 / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4579, allocations: 4 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.4581, allocations: 121.2 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.4581, allocations: 7.953 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.4581, allocations: 8.047 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.4581, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.4582, allocations: 4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4582, allocations: 7.984 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.4582, allocations: 87.28 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4582, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002557/0.4585, allocations: 28 kB / 1.331 GB, free: 11.68 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: 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.0001696/0.4587, allocations: 111.2 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.4591, allocations: 278.1 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4591, allocations: 4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.4591, allocations: 23.94 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.4594, allocations: 18.45 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.4599, allocations: 155 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.56e-05/0.4599, allocations: 75.33 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.46, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.46, allocations: 11.44 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.46, allocations: 0 / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of Templates: time 0.005703/0.4657, allocations: 2.09 MB / 1.334 GB, free: 8.875 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.50564262084663]