Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001533/0.001533, allocations: 95.64 kB / 18.94 MB, free: 2.691 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.001673/0.001673, allocations: 212.7 kB / 22.24 MB, free: 5.242 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.714/1.714, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.378/3.378, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [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.002139/0.002139, allocations: 73.11 kB / 1.154 GB, free: 25.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4539, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002317/0.4562, allocations: 0.5857 MB / 1.326 GB, free: 1.332 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4581, allocations: 1.136 MB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.4582, allocations: 0 / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.4582, allocations: 3.938 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.4583, allocations: 3.938 kB / 1.327 GB, free: 180 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.4589, allocations: 120.6 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.4591, allocations: 87.83 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.546e-05/0.4592, allocations: 3.938 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.4594, allocations: 47.89 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.4595, allocations: 23.97 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.4595, allocations: 8 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.4596, allocations: 23.98 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.4596, allocations: 11.92 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.4597, allocations: 19.98 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.4599, allocations: 87.72 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4599, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4599, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4599, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005579/0.4604, allocations: 300 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.4605, allocations: 12.03 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.4605, allocations: 4.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.4607, allocations: 114.4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.4607, allocations: 4.375 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.4608, allocations: 4.375 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4609, allocations: 63.95 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4609, allocations: 192 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4609, allocations: 3.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4609, allocations: 7.938 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.461, allocations: 7.984 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4614, allocations: 224.6 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.368e-05/0.4615, allocations: 22.52 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.4615, allocations: 8.922 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.4615, allocations: 3.938 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.4617, allocations: 85.09 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4617, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002537/0.462, allocations: 69.58 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.462, allocations: 51.41 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4621, allocations: 105.8 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.4622, allocations: 29.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.4622, allocations: 88.14 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.4623, allocations: 15.92 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.4623, allocations: 29.7 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4625, allocations: 314.8 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.4626, allocations: 53.69 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.4627, allocations: 84.25 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4628, allocations: 80.44 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4628, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003229/0.4632, allocations: 188.9 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.4632, allocations: 37.69 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.4632, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4632, allocations: 4 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.045e-05/0.4633, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4633, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.4635, allocations: 27.91 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.4635, allocations: 11.98 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001297/0.4636, allocations: 117.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.4637, allocations: 11.89 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.4637, allocations: 8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4637, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4637, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4637, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.4638, allocations: 105.3 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4638, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.4639, allocations: 11.88 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.4639, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4639, allocations: 320 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4639, allocations: 0 / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.4639, allocations: 11.98 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.464, allocations: 81.12 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.464, allocations: 7.891 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.464, allocations: 4 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.464, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.4641, allocations: 7.922 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.4641, allocations: 4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.745e-05/0.4642, allocations: 83.28 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4642, allocations: 0 / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002203/0.4644, allocations: 16 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001675/0.4645, allocations: 107.2 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4648, allocations: 133.1 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4648, allocations: 4 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.335e-05/0.4648, allocations: 11.92 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4651, allocations: 8 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.4654, allocations: 118.1 kB / 1.33 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.618e-05/0.4655, allocations: 63.53 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.4655, allocations: 8 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.4655, allocations: 15.36 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4655, allocations: 0 / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Templates: time 0.004725/0.4703, allocations: 1.199 MB / 1.332 GB, free: 11.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.823147436603904]