Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001754/0.001754, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002811/0.002811, allocations: 175.1 kB / 22.46 MB, free: 5.355 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.648/1.648, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.749/2.749, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.576e-05/3.874e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002524/0.002563, allocations: 0.8048 MB / 0.9518 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.005516, allocations: 1.506 MB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.005659, allocations: 3.938 kB / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.005825, allocations: 23.73 kB / 0.9533 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.005957, allocations: 27.78 kB / 0.9533 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.00765, allocations: 0.5276 MB / 0.9538 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000823/0.008473, allocations: 491 kB / 0.9543 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.008648, allocations: 29.61 kB / 0.9543 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.00913, allocations: 251.7 kB / 0.9545 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.009395, allocations: 147.6 kB / 0.9547 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.009489, allocations: 43.98 kB / 0.9547 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.009626, allocations: 52 kB / 0.9548 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.009701, allocations: 43.89 kB / 0.9548 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.009914, allocations: 139.7 kB / 0.955 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.01056, allocations: 494.8 kB / 0.9554 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01056, allocations: 0 / 0.9554 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.01057, allocations: 0 / 0.9554 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.01057, allocations: 0 / 0.9554 GB, free: 7.043 MB / 0.8575 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.000996/0.01157, allocations: 0.5722 MB / 0.956 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.01162, allocations: 8.031 kB / 0.956 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.01173, allocations: 32.83 kB / 0.956 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.01209, allocations: 193.5 kB / 0.9562 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.01212, allocations: 24.36 kB / 0.9562 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.0122, allocations: 28.38 kB / 0.9563 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.0125, allocations: 155.3 kB / 0.9564 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01251, allocations: 192 / 0.9564 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.01253, allocations: 8.375 kB / 0.9564 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.01254, allocations: 4.375 kB / 0.9564 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.0127, allocations: 91.81 kB / 0.9565 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.0136, allocations: 0.5586 MB / 0.9571 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.0138, allocations: 90.73 kB / 0.9571 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.01389, allocations: 44.78 kB / 0.9572 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.0139, allocations: 0 / 0.9572 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.01421, allocations: 151.2 kB / 0.9573 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.01421, allocations: 0 / 0.9573 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0005264/0.01474, allocations: 247.6 kB / 0.9576 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.01479, allocations: 59.41 kB / 0.9576 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.01498, allocations: 187.4 kB / 0.9578 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.01505, allocations: 37.7 kB / 0.9578 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.01518, allocations: 128.7 kB / 0.958 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.01522, allocations: 47.67 kB / 0.958 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.01545, allocations: 117.6 kB / 0.9581 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01561, allocations: 330.8 kB / 0.9584 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.01608, allocations: 308.3 kB / 0.9587 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.01662, allocations: 390.7 kB / 0.9591 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.01722, allocations: 407.2 kB / 0.9595 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.01722, allocations: 0 / 0.9595 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001364/0.01859, allocations: 0.7895 MB / 0.9603 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.01873, allocations: 164.5 kB / 0.9604 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.01874, allocations: 4 kB / 0.9604 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.01877, allocations: 4 kB / 0.9604 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.0188, allocations: 7.938 kB / 0.9604 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.01882, allocations: 8.047 kB / 0.9604 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.01973, allocations: 143.8 kB / 0.9606 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.01981, allocations: 31.98 kB / 0.9606 GB, free: 1.273 MB / 0.8575 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.0002795/0.02009, allocations: 157.5 kB / 0.9608 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.02014, allocations: 23.84 kB / 0.9608 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.02019, allocations: 21.81 kB / 0.9608 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.02019, allocations: 0 / 0.9608 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.0202, allocations: 4 kB / 0.9608 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.02021, allocations: 3.938 kB / 0.9608 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.0209, allocations: 438 kB / 0.9612 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.02091, allocations: 96 / 0.9612 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.02094, allocations: 15.86 kB / 0.9612 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.02094, allocations: 0 / 0.9612 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.02096, allocations: 4 kB / 0.9612 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.02096, allocations: 3.938 kB / 0.9612 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.02096, allocations: 0 / 0.9612 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.02137, allocations: 285.6 kB / 0.9615 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.02141, allocations: 15.84 kB / 0.9615 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.02144, allocations: 8 kB / 0.9615 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.02152, allocations: 7.922 kB / 0.9615 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.02162, allocations: 19.97 kB / 0.9616 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.02166, allocations: 12 kB / 0.9616 GB, free: 224 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001744/0.02183, allocations: 119.2 kB / 0.9617 GB, free: 104 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02183, allocations: 0 / 0.9617 GB, free: 104 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004544/0.02228, allocations: 79.95 kB / 0.9618 GB, free: 24 kB / 0.8575 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.000337/0.02262, allocations: 119.1 kB / 0.9619 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.02377, allocations: 0.6887 MB / 0.9626 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.02378, allocations: 0 / 0.9626 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.02394, allocations: 71.86 kB / 0.9626 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.02449, allocations: 62.67 kB / 0.9627 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008341/0.02533, allocations: 322.7 kB / 0.963 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.02551, allocations: 116.2 kB / 0.9631 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.0256, allocations: 25.48 kB / 0.9631 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.02565, allocations: 24.48 kB / 0.9632 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.02565, allocations: 0 / 0.9632 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.01215/0.0378, allocations: 5.064 MB / 0.9681 GB, free: 9.523 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.619029175490141]