Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.135/3.135, allocations: 0.4893 GB / 0.7884 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.14 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4601, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00198/0.4621, allocations: 0.6567 MB / 1.317 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.4637, allocations: 1.198 MB / 1.318 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.4637, allocations: 0 / 1.318 GB, free: 7.844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.4638, allocations: 3.938 kB / 1.318 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.4639, allocations: 15.92 kB / 1.318 GB, free: 7.824 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.4645, allocations: 216.9 kB / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.4648, allocations: 179.6 kB / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.4648, allocations: 8 kB / 1.318 GB, free: 7.434 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.4649, allocations: 71.88 kB / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.4651, allocations: 55.86 kB / 1.318 GB, free: 7.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.4651, allocations: 12 kB / 1.318 GB, free: 7.297 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.4652, allocations: 35.97 kB / 1.318 GB, free: 7.262 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.4652, allocations: 8 kB / 1.318 GB, free: 7.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.068e-05/0.4653, allocations: 51.84 kB / 1.318 GB, free: 7.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.4655, allocations: 159.5 kB / 1.319 GB, free: 7.047 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4655, allocations: 0 / 1.319 GB, free: 7.047 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4655, allocations: 0 / 1.319 GB, free: 7.047 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.4655, allocations: 3.984 kB / 1.319 GB, free: 7.043 MB / 1.014 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.0005323/0.466, allocations: 357.5 kB / 1.319 GB, free: 6.648 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4661, allocations: 8.031 kB / 1.319 GB, free: 6.641 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.4661, allocations: 12.89 kB / 1.319 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.4663, allocations: 118.5 kB / 1.319 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4663, allocations: 4.375 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.4663, allocations: 16.38 kB / 1.319 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.4664, allocations: 46.25 kB / 1.319 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4665, allocations: 4.188 kB / 1.319 GB, free: 6.414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4665, allocations: 7.922 kB / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4665, allocations: 0 / 1.319 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.109e-05/0.4665, allocations: 15.94 kB / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.467, allocations: 331.7 kB / 1.32 GB, free: 6.023 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.4671, allocations: 34.52 kB / 1.32 GB, free: 5.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.4671, allocations: 16.94 kB / 1.32 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.4672, allocations: 0 / 1.32 GB, free: 5.961 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.4673, allocations: 83.3 kB / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4673, allocations: 0 / 1.32 GB, free: 5.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0002636/0.4676, allocations: 101.6 kB / 1.32 GB, free: 5.762 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4676, allocations: 51.41 kB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.4677, allocations: 129.8 kB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.4677, allocations: 33.7 kB / 1.32 GB, free: 5.523 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.4678, allocations: 88.14 kB / 1.32 GB, free: 5.434 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4678, allocations: 11.89 kB / 1.32 GB, free: 5.422 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.4679, allocations: 53.67 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4681, allocations: 322.8 kB / 1.32 GB, free: 5.039 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4682, allocations: 59.97 kB / 1.32 GB, free: 4.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.4683, allocations: 103.3 kB / 1.321 GB, free: 4.867 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.4685, allocations: 155.6 kB / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4685, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004269/0.469, allocations: 265.3 kB / 1.321 GB, free: 4.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.469, allocations: 79.27 kB / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.469, allocations: 0 / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4691, allocations: 0 / 1.321 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-05/0.4691, allocations: 11.98 kB / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4691, allocations: 0 / 1.321 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.4694, allocations: 52.06 kB / 1.321 GB, free: 4.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.4694, allocations: 15.98 kB / 1.321 GB, free: 4.242 MB / 1.014 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.0001154/0.4695, allocations: 130.2 kB / 1.321 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.4696, allocations: 3.953 kB / 1.321 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.4696, allocations: 12.38 kB / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4696, allocations: 0 / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4696, allocations: 0 / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4696, allocations: 0 / 1.321 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.4697, allocations: 152.7 kB / 1.321 GB, free: 3.895 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4697, allocations: 4 kB / 1.321 GB, free: 3.891 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-06/0.4697, allocations: 4 kB / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4697, allocations: 0 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4698, allocations: 0 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4698, allocations: 0 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4698, allocations: 64 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.4699, allocations: 128.9 kB / 1.322 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.4699, allocations: 7.953 kB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4699, allocations: 7.984 kB / 1.322 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.732e-05/0.47, allocations: 0 / 1.322 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.47, allocations: 4 kB / 1.322 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.47, allocations: 7.984 kB / 1.322 GB, free: 3.715 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.4701, allocations: 87.28 kB / 1.322 GB, free: 3.629 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.4701, allocations: 0 / 1.322 GB, free: 3.629 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002281/0.4703, allocations: 31.98 kB / 1.322 GB, free: 3.598 MB / 1.014 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.0002069/0.4705, allocations: 95.25 kB / 1.322 GB, free: 3.496 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.4709, allocations: 230.6 kB / 1.322 GB, free: 3.246 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4709, allocations: 0 / 1.322 GB, free: 3.246 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.078e-05/0.471, allocations: 23.92 kB / 1.322 GB, free: 3.223 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.4712, allocations: 22.08 kB / 1.322 GB, free: 3.203 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.4716, allocations: 158.7 kB / 1.322 GB, free: 3.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4719, allocations: 0.6848 MB / 1.323 GB, free: 2.309 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.799e-05/0.472, allocations: 7.984 kB / 1.323 GB, free: 2.301 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.472, allocations: 11.44 kB / 1.323 GB, free: 2.289 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.472, allocations: 0 / 1.323 GB, free: 2.289 MB / 1.014 GB Notification: Performance of Templates: time 0.004972/0.477, allocations: 1.875 MB / 1.325 GB, free: 448 kB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.971556335687637]