Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001063/0.001063, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001081/0.002143, 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.0007178/0.0007178, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009648/0.001683, 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.9164/0.9164, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08494/1.001, 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.363/2.363, allocations: 447.1 MB / 0.675 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2449/2.608, allocations: 146 MB / 0.8176 GB, free: 3.797 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.242e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00153/0.001563, allocations: 0.6512 MB / 0.8195 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.002594, allocations: 1.158 MB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.002629, allocations: 0 / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.002653, allocations: 3.938 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.002694, allocations: 7.938 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.002983, allocations: 119.6 kB / 0.8208 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.003115, allocations: 91.83 kB / 0.8209 GB, free: 460 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.003187, allocations: 7.984 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.003272, allocations: 47.97 kB / 0.8209 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.003354, allocations: 31.88 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.003373, allocations: 11.94 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.00344, allocations: 16 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.003462, allocations: 4 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.003499, allocations: 16 kB / 0.821 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.00362, allocations: 63.81 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.003633, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003634, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.003644, allocations: 4 kB / 0.8211 GB, free: 256 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003783/0.004023, allocations: 282.3 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.004054, allocations: 8.031 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.004089, allocations: 12.92 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.004165, allocations: 113.7 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.004175, allocations: 4.375 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.004189, allocations: 4.375 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.677e-05/0.004256, allocations: 63.89 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.004262, allocations: 192 / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.004269, allocations: 384 / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.004273, allocations: 8.375 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-06/0.004282, allocations: 3.938 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.004484, allocations: 156.3 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.802e-05/0.004522, allocations: 18.58 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.055e-06/0.00453, allocations: 4.859 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-06/0.004534, allocations: 3.938 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.692e-05/0.004631, allocations: 85.14 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.004632, allocations: 0 / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001085/0.004741, allocations: 57.61 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.004772, allocations: 55.41 kB / 0.8219 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.004837, allocations: 114.6 kB / 0.822 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.004853, allocations: 25.7 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.004891, allocations: 88.09 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.004899, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.004938, allocations: 33.69 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.005016, allocations: 318.8 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.005104, allocations: 53.69 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.005147, allocations: 68.25 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.005206, allocations: 80.19 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005208, allocations: 0 / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001141/0.005322, allocations: 145 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.005358, allocations: 33.69 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.005364, allocations: 4 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.005378, allocations: 3.938 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.005397, allocations: 320 / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.005401, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.005541, allocations: 27.94 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.00556, allocations: 16.08 kB / 0.8229 GB, free: 14.16 MB / 0.8073 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 7.671e-05/0.005637, allocations: 109.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.005647, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.005672, allocations: 8 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.005675, allocations: 3.938 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.005677, allocations: 0 / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.005682, allocations: 4.219 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.423e-05/0.005756, allocations: 69.89 kB / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005758, allocations: 0 / 0.8231 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.005769, allocations: 15.92 kB / 0.8231 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-06/0.005774, allocations: 4 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.005776, allocations: 0 / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005782, allocations: 3.984 kB / 0.8231 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.005785, allocations: 4 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.005787, allocations: 3.938 kB / 0.8231 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.867e-05/0.005856, allocations: 61.12 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.005864, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.005874, allocations: 0 / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.005895, allocations: 7.984 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.005899, allocations: 3.938 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.493e-05/0.005914, allocations: 8.859 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005914, allocations: 4 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001134/0.006027, allocations: 20 kB / 0.8232 GB, free: 13.79 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: 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.0001132/0.00614, allocations: 92.22 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.006273, allocations: 133.9 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.006276, allocations: 0 / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.006297, allocations: 8.859 kB / 0.8234 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.00643, allocations: 77.95 kB / 0.8235 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.006822, allocations: 117 kB / 0.8236 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.006852, allocations: 59.22 kB / 0.8237 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.006874, allocations: 0 / 0.8237 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.006943, allocations: 67.36 kB / 0.8237 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of SimCode: time 1.233e-06/0.006945, allocations: 0 / 0.8237 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of Templates: time 0.002739/0.009684, allocations: 1.312 MB / 0.825 GB, free: 11.86 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.14864516723901]