Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001093/0.001093, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002757, allocations: 435.8 kB / 10.33 MB, free: 368 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.001058/0.001058, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002493, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9762/0.9762, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.083, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.614/2.614, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3262/2.94, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.514e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002282/0.002317, allocations: 0.7022 MB / 0.819 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.003979, allocations: 1.252 MB / 0.8202 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.004036, allocations: 0 / 0.8202 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.004068, allocations: 3.938 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.004135, allocations: 11.92 kB / 0.8202 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000617/0.004752, allocations: 207.4 kB / 0.8204 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.005048, allocations: 171.7 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.005174, allocations: 11.92 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.005336, allocations: 91.92 kB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.005483, allocations: 55.86 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.005518, allocations: 12 kB / 0.8208 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.00564, allocations: 31.97 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.005666, allocations: 7.938 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.005726, allocations: 35.94 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.005946, allocations: 103.8 kB / 0.8209 GB, free: 192 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.979e-05/0.005966, allocations: 0 / 0.8209 GB, free: 192 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.883e-06/0.005968, allocations: 0 / 0.8209 GB, free: 192 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.005984, allocations: 4 kB / 0.8209 GB, free: 188 kB / 0.7917 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.0005431/0.006528, allocations: 343.8 kB / 0.8213 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.006567, allocations: 12.62 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.006623, allocations: 16.86 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.006731, allocations: 113.7 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.00675, allocations: 12.36 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.006769, allocations: 8.375 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.006853, allocations: 42.25 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.006861, allocations: 192 / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.00687, allocations: 4.359 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006876, allocations: 384 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.006898, allocations: 15.94 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.007202, allocations: 180.2 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.409e-05/0.007287, allocations: 26.58 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.007304, allocations: 8.859 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.007315, allocations: 0 / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.007471, allocations: 91.39 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.007473, allocations: 0 / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002119/0.007685, allocations: 73.59 kB / 0.8218 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.007738, allocations: 51.41 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.00783, allocations: 126.7 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.007856, allocations: 29.7 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.007907, allocations: 88.12 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.007927, allocations: 23.83 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.007996, allocations: 49.61 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.008098, allocations: 314.8 kB / 0.8225 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.008218, allocations: 103.4 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.008329, allocations: 135.6 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.008467, allocations: 151.5 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.008471, allocations: 0 / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002561/0.008727, allocations: 260.3 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.008793, allocations: 67.39 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.008803, allocations: 3.938 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.008816, allocations: 4 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.241e-05/0.008849, allocations: 3.938 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.008855, allocations: 4 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.009051, allocations: 44.03 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.009074, allocations: 16.3 kB / 0.8233 GB, free: 13.54 MB / 0.8073 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,and1.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.0001082/0.009182, allocations: 117.8 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.009199, allocations: 8 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.009235, allocations: 12.36 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.00924, allocations: 4 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.009244, allocations: 0 / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.009248, allocations: 0 / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.959e-05/0.009348, allocations: 77.88 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.009351, allocations: 0 / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.009363, allocations: 8 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.009375, allocations: 11.88 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.009379, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-06/0.009385, allocations: 4 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.009389, allocations: 7.875 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.00939, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.009491, allocations: 81.09 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.009502, allocations: 3.984 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.009522, allocations: 4 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.009555, allocations: 12 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.009561, allocations: 7.984 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.009585, allocations: 21.25 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009585, allocations: 0 / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001681/0.009754, allocations: 32 kB / 0.8236 GB, free: 13.08 MB / 0.8073 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,and1.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.0001785/0.009932, allocations: 84.34 kB / 0.8237 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003191/0.01025, allocations: 259 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.01026, allocations: 4.25 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.0103, allocations: 32.77 kB / 0.824 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.01048, allocations: 15.98 kB / 0.824 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.01108, allocations: 141.3 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.01113, allocations: 63.22 kB / 0.8242 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.01117, allocations: 7.984 kB / 0.8242 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.0113, allocations: 79.33 kB / 0.8243 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of SimCode: time 7.52e-07/0.0113, allocations: 0 / 0.8243 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of Templates: time 0.005289/0.01659, allocations: 2.294 MB / 0.8265 GB, free: 10.06 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.625603049062192]