Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001924/0.001924, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002381/0.002381, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.971/2.971, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [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.002162/0.002162, allocations: 70.23 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.937/0.9391, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.0019/0.941, allocations: 0.8048 MB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.9427, allocations: 1.495 MB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.9428, allocations: 1.219 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.9429, allocations: 20.98 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.943, allocations: 37.62 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.9442, allocations: 0.5182 MB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.9447, allocations: 477.4 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.9448, allocations: 36.89 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.945, allocations: 187.3 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.9453, allocations: 145.4 kB / 1.19 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.9453, allocations: 44.66 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.9455, allocations: 57.89 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.312e-05/0.9455, allocations: 37.97 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.9457, allocations: 156.2 kB / 1.191 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.9462, allocations: 413.8 kB / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9462, allocations: 0 / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9462, allocations: 5.062 kB / 1.191 GB, free: 13.76 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9462, allocations: 0 / 1.191 GB, free: 13.76 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006635/0.9469, allocations: 0.5766 MB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.9469, allocations: 8.719 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.947, allocations: 29.52 kB / 1.192 GB, free: 13.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.9473, allocations: 200.5 kB / 1.192 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.9473, allocations: 19.19 kB / 1.192 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.9474, allocations: 30.98 kB / 1.192 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.9476, allocations: 156.4 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.9477, allocations: 192 / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.9477, allocations: 11.39 kB / 1.192 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.9477, allocations: 6.219 kB / 1.192 GB, free: 12.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.9478, allocations: 85.28 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.9486, allocations: 0.5661 MB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.9487, allocations: 82.05 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.876e-05/0.9488, allocations: 41.19 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.9488, allocations: 1.312 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.9491, allocations: 162.3 kB / 1.193 GB, free: 12.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.9491, allocations: 0 / 1.193 GB, free: 12.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0004617/0.9496, allocations: 249.8 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.9496, allocations: 63.94 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9497, allocations: 184.5 kB / 1.193 GB, free: 12.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.9498, allocations: 39.64 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.9499, allocations: 128.2 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.9499, allocations: 45.3 kB / 1.194 GB, free: 11.92 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.9501, allocations: 115 kB / 1.194 GB, free: 11.88 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.9501, allocations: 328.6 kB / 1.194 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.9505, allocations: 311.7 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.9509, allocations: 393.8 kB / 1.195 GB, free: 11.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.9513, allocations: 416.2 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.9513, allocations: 1.062 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009903/0.9523, allocations: 0.7744 MB / 1.196 GB, free: 10.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.922e-05/0.9524, allocations: 159.7 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.9524, allocations: 3 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.9524, allocations: 9.172 kB / 1.196 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.9525, allocations: 18.75 kB / 1.196 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.9525, allocations: 5.172 kB / 1.196 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008092/0.9533, allocations: 139.4 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.9534, allocations: 37.23 kB / 1.196 GB, free: 9.961 MB / 1.076 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.0001526/0.9535, allocations: 156.7 kB / 1.196 GB, free: 9.828 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.9535, allocations: 17.06 kB / 1.196 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.238e-05/0.9536, allocations: 18.08 kB / 1.196 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9536, allocations: 6.156 kB / 1.196 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.9536, allocations: 0.7969 kB / 1.196 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.9536, allocations: 0.6562 kB / 1.196 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.9541, allocations: 438.1 kB / 1.197 GB, free: 9.492 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9541, allocations: 1.062 kB / 1.197 GB, free: 9.492 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.9541, allocations: 4.875 kB / 1.197 GB, free: 9.492 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9541, allocations: 5.25 kB / 1.197 GB, free: 9.488 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.9541, allocations: 7.297 kB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.9541, allocations: 1.375 kB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9541, allocations: 1.125 kB / 1.197 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.9544, allocations: 283.5 kB / 1.197 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.9544, allocations: 25.22 kB / 1.197 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.9545, allocations: 2.875 kB / 1.197 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.9545, allocations: 11.55 kB / 1.197 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.9546, allocations: 19.33 kB / 1.197 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.9546, allocations: 11.72 kB / 1.197 GB, free: 9.266 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.82e-05/0.9547, allocations: 114.5 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9547, allocations: 1.125 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000384/0.9551, allocations: 78.53 kB / 1.197 GB, free: 9.176 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: 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.0001609/0.9552, allocations: 109.1 kB / 1.197 GB, free: 9.082 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006893/0.9559, allocations: 0.7081 MB / 1.198 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9559, allocations: 3.938 kB / 1.198 GB, free: 8.492 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.956, allocations: 67.8 kB / 1.198 GB, free: 8.473 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.9564, allocations: 47.77 kB / 1.198 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/0.957, allocations: 335.4 kB / 1.198 GB, free: 8.242 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.9571, allocations: 116.7 kB / 1.199 GB, free: 8.164 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.742e-05/0.9572, allocations: 26.86 kB / 1.199 GB, free: 8.156 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.9572, allocations: 19.67 kB / 1.199 GB, free: 8.148 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.9572, allocations: 4 kB / 1.199 GB, free: 8.145 MB / 1.076 GB Notification: Performance of Templates: time 0.01034/0.9675, allocations: 5.114 MB / 1.204 GB, free: 7.516 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.32251966104377]