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.0007881/0.0007881, allocations: 76.45 kB / 19.93 MB, free: 4.613 MB / 18.57 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.0007776/0.0007776, allocations: 181.9 kB / 23.22 MB, free: 1.32 MB / 18.57 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 0.8672/0.8672, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.253e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001204/0.001227, allocations: 0.6454 MB / 0.9524 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002229, allocations: 1.206 MB / 0.9535 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.002253, allocations: 0 / 0.9535 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.002267, allocations: 7.938 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.002306, allocations: 23.84 kB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.002634, allocations: 216.1 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.002755, allocations: 171.7 kB / 0.9539 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.002803, allocations: 7.984 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.002898, allocations: 87.94 kB / 0.954 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.108e-05/0.002989, allocations: 55.84 kB / 0.9541 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.003012, allocations: 16 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.003064, allocations: 27.98 kB / 0.9541 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.003083, allocations: 15.97 kB / 0.9541 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.003135, allocations: 47.91 kB / 0.9542 GB, free: 444 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.003304, allocations: 179.6 kB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.003306, allocations: 0 / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003307, allocations: 0 / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.00331, allocations: 0 / 0.9544 GB, free: 264 kB / 0.9011 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.0003725/0.003683, allocations: 361.5 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.003714, allocations: 15.91 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.003758, allocations: 16.89 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.003828, allocations: 113.7 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.003844, allocations: 12.36 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.003864, allocations: 8.375 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/0.003949, allocations: 46.25 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.003957, allocations: 4.188 kB / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.003966, allocations: 384 / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.00397, allocations: 384 / 0.9549 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.004004, allocations: 23.92 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.004375, allocations: 268.4 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.9e-05/0.004434, allocations: 34.67 kB / 0.9552 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.071e-05/0.004455, allocations: 16.84 kB / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.004463, allocations: 0 / 0.9552 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.004565, allocations: 79.31 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.004565, allocations: 0 / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0001852/0.00475, allocations: 109.5 kB / 0.9554 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.004786, allocations: 59.41 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.105e-05/0.004847, allocations: 117.8 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.004867, allocations: 29.7 kB / 0.9556 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.004909, allocations: 92.09 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.004923, allocations: 27.83 kB / 0.9557 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.004978, allocations: 45.69 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.005045, allocations: 314.8 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.005158, allocations: 123.4 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.005272, allocations: 156.8 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.005395, allocations: 160 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.005398, allocations: 4 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002803/0.005678, allocations: 328.2 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.005712, allocations: 67.39 kB / 0.9569 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005718, allocations: 4 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.005732, allocations: 0 / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.005749, allocations: 4 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005754, allocations: 3.984 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.00594, allocations: 60.02 kB / 0.957 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.005957, allocations: 11.94 kB / 0.957 GB, free: 13.3 MB / 0.9167 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 6.48e-05/0.006022, allocations: 129.8 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.00603, allocations: 7.891 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.006051, allocations: 12.44 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.006052, allocations: 3.984 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.006055, allocations: 0 / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006059, allocations: 0 / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.539e-05/0.006124, allocations: 117.3 kB / 0.9572 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006126, allocations: 3.984 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-06/0.006129, allocations: 4 kB / 0.9572 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.006131, allocations: 3.938 kB / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.006138, allocations: 4 kB / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006138, allocations: 320 / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.00614, allocations: 64 / 0.9572 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.181e-05/0.006231, allocations: 121 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.006239, allocations: 7.938 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.006249, allocations: 3.938 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.00626, allocations: 0 / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.006289, allocations: 11.97 kB / 0.9574 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.006295, allocations: 8 kB / 0.9574 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.006326, allocations: 99.2 kB / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006326, allocations: 0 / 0.9575 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001506/0.006477, allocations: 24 kB / 0.9575 GB, free: 12.69 MB / 0.9167 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 9.16e-05/0.006568, allocations: 110 kB / 0.9576 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.006801, allocations: 270.1 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006802, allocations: 4 kB / 0.9579 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.294e-05/0.006835, allocations: 23.92 kB / 0.9579 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.006985, allocations: 20.23 kB / 0.9579 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.007227, allocations: 187.1 kB / 0.9581 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.007267, allocations: 75.23 kB / 0.9582 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.007284, allocations: 12.5 kB / 0.9582 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of SimCode: time 3.11e-07/0.007285, allocations: 0 / 0.9582 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.002047/0.009331, allocations: 1.408 MB / 0.9595 GB, free: 10.52 MB / 0.9167 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 -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/jenkins/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: 6.518554728478193]