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.0007493/0.0007493, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001036/0.001786, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007002/0.0007002, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009686/0.001669, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9117/0.9117, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08629/0.998, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.381/2.381, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2464/2.627, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|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.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0 / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.898e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001793/0.001812, allocations: 0.8737 MB / 0.8198 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.003619, allocations: 1.54 MB / 0.8213 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.003697, allocations: 4 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.569e-05/0.003773, allocations: 15.8 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.003857, allocations: 39.66 kB / 0.8214 GB, free: 15.97 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.004935, allocations: 0.495 MB / 0.8218 GB, free: 15.48 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.005537, allocations: 475.2 kB / 0.8223 GB, free: 15.01 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005663, allocations: 38.2 kB / 0.8223 GB, free: 14.97 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.005975, allocations: 263.7 kB / 0.8226 GB, free: 14.71 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.006225, allocations: 147.6 kB / 0.8227 GB, free: 14.57 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.006298, allocations: 40 kB / 0.8228 GB, free: 14.53 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.006433, allocations: 52 kB / 0.8228 GB, free: 14.48 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.006492, allocations: 35.86 kB / 0.8228 GB, free: 14.45 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.006624, allocations: 99.84 kB / 0.8229 GB, free: 14.35 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.006986, allocations: 275.3 kB / 0.8232 GB, free: 14.08 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.007002, allocations: 0 / 0.8232 GB, free: 14.08 MB / 0.8074 GB Notification: Performance of FrontEnd: time 5.51e-07/0.007002, allocations: 0 / 0.8232 GB, free: 14.08 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.007017, allocations: 0 / 0.8232 GB, free: 14.08 MB / 0.8074 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.0007443/0.007762, allocations: 0.5939 MB / 0.8238 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.007795, allocations: 8.031 kB / 0.8238 GB, free: 13.42 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.007884, allocations: 40.89 kB / 0.8238 GB, free: 13.38 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.008129, allocations: 169.5 kB / 0.824 GB, free: 13.19 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.008153, allocations: 20.36 kB / 0.824 GB, free: 13.17 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.008211, allocations: 28.38 kB / 0.824 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.008367, allocations: 117.9 kB / 0.8241 GB, free: 13.02 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.008375, allocations: 4.188 kB / 0.8242 GB, free: 13.01 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.008388, allocations: 4.375 kB / 0.8242 GB, free: 13.01 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.008395, allocations: 4.375 kB / 0.8242 GB, free: 13 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.008445, allocations: 27.92 kB / 0.8242 GB, free: 12.98 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.008994, allocations: 407.2 kB / 0.8246 GB, free: 12.56 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.009105, allocations: 58.5 kB / 0.8246 GB, free: 12.49 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.009141, allocations: 20.84 kB / 0.8247 GB, free: 12.47 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.009149, allocations: 8 kB / 0.8247 GB, free: 12.46 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.009318, allocations: 131.4 kB / 0.8248 GB, free: 12.32 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.009319, allocations: 3.938 kB / 0.8248 GB, free: 12.32 MB / 0.8074 GB Notification: Performance of matching and sorting (n=20): time 0.0002458/0.009564, allocations: 139.8 kB / 0.8249 GB, free: 12.18 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.009601, allocations: 55.41 kB / 0.825 GB, free: 12.11 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.009728, allocations: 190.4 kB / 0.8252 GB, free: 11.91 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.009776, allocations: 41.7 kB / 0.8252 GB, free: 11.86 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.009859, allocations: 120.6 kB / 0.8253 GB, free: 11.74 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.009895, allocations: 39.73 kB / 0.8253 GB, free: 11.7 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.01005, allocations: 105.6 kB / 0.8255 GB, free: 11.59 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.01015, allocations: 334.7 kB / 0.8258 GB, free: 11.25 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.01038, allocations: 252.4 kB / 0.826 GB, free: 10.98 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.01064, allocations: 334.6 kB / 0.8263 GB, free: 10.58 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.01096, allocations: 380.3 kB / 0.8267 GB, free: 10.14 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.01097, allocations: 0 / 0.8267 GB, free: 10.14 MB / 0.8074 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005904/0.01156, allocations: 0.6154 MB / 0.8273 GB, free: 9.461 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.01165, allocations: 156.8 kB / 0.8274 GB, free: 9.277 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01166, allocations: 8 kB / 0.8275 GB, free: 9.27 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.01168, allocations: 4 kB / 0.8275 GB, free: 9.266 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.338e-05/0.01171, allocations: 15.92 kB / 0.8275 GB, free: 9.25 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01172, allocations: 7.984 kB / 0.8275 GB, free: 9.242 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.01212, allocations: 103.8 kB / 0.8276 GB, free: 9.141 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.01217, allocations: 31.97 kB / 0.8276 GB, free: 9.109 MB / 0.8074 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.0001218/0.01229, allocations: 144.5 kB / 0.8277 GB, free: 8.957 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.01231, allocations: 19.98 kB / 0.8278 GB, free: 8.938 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.01235, allocations: 21.8 kB / 0.8278 GB, free: 8.914 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.01236, allocations: 4 kB / 0.8278 GB, free: 8.91 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.01236, allocations: 0 / 0.8278 GB, free: 8.91 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01236, allocations: 0 / 0.8278 GB, free: 8.91 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.01269, allocations: 346.4 kB / 0.8281 GB, free: 8.547 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.0127, allocations: 7.984 kB / 0.8281 GB, free: 8.539 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.01272, allocations: 11.98 kB / 0.8281 GB, free: 8.527 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.01274, allocations: 11.91 kB / 0.8281 GB, free: 8.516 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01274, allocations: 0 / 0.8281 GB, free: 8.516 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.01275, allocations: 7.984 kB / 0.8282 GB, free: 8.508 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01275, allocations: 0 / 0.8282 GB, free: 8.508 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01275, allocations: 3.938 kB / 0.8282 GB, free: 8.504 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.01292, allocations: 213.9 kB / 0.8284 GB, free: 8.281 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01294, allocations: 0 / 0.8284 GB, free: 8.281 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.01301, allocations: 4 kB / 0.8284 GB, free: 8.277 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.01305, allocations: 22.8 kB / 0.8284 GB, free: 8.254 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.01306, allocations: 15.98 kB / 0.8284 GB, free: 8.238 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.01311, allocations: 45.77 kB / 0.8284 GB, free: 8.191 MB / 0.8074 GB Notification: Performance of sort global known variables: time 6e-08/0.01311, allocations: 0 / 0.8284 GB, free: 8.191 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0003216/0.01343, allocations: 83.92 kB / 0.8285 GB, free: 8.109 MB / 0.8074 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.0001227/0.01355, allocations: 92.64 kB / 0.8286 GB, free: 8.012 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.01408, allocations: 0.6434 MB / 0.8292 GB, free: 7.273 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.01409, allocations: 4.094 kB / 0.8292 GB, free: 7.27 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 6.985e-05/0.01416, allocations: 56.78 kB / 0.8293 GB, free: 7.211 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.01456, allocations: 427.7 kB / 0.8297 GB, free: 6.707 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.01523, allocations: 307.1 kB / 0.83 GB, free: 6.383 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.13e-05/0.01528, allocations: 79.98 kB / 0.8301 GB, free: 6.285 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 5.63e-05/0.01534, allocations: 17.48 kB / 0.8301 GB, free: 6.266 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.01561, allocations: 131.2 kB / 0.8302 GB, free: 6.137 MB / 0.8074 GB Notification: Performance of SimCode: time 5.71e-07/0.01561, allocations: 0 / 0.8302 GB, free: 6.137 MB / 0.8074 GB Notification: Performance of Templates: time 0.00876/0.02437, allocations: 5.615 MB / 0.8357 GB, free: 0.6484 MB / 0.8074 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.154094871133566]