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.0007947/0.0007947, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.001948, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007278/0.0007278, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009751/0.001703, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.971/0.971, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.063, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.884/1.884, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5324/2.416, allocations: 123.3 MB / 0.7283 GB, free: 5.695 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.174e-05, allocations: 3.312 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001339/0.001361, allocations: 0.6573 MB / 0.7303 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.0024, allocations: 1.156 MB / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.002429, allocations: 0 / 0.7314 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.00245, allocations: 3.938 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.002487, allocations: 2.406 kB / 0.7314 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.002773, allocations: 121 kB / 0.7315 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.002928, allocations: 92.12 kB / 0.7316 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.696e-05/0.003005, allocations: 7.984 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.003102, allocations: 50.05 kB / 0.7317 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.727e-05/0.0032, allocations: 25.48 kB / 0.7317 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.003222, allocations: 9.375 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.003298, allocations: 19.98 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.003322, allocations: 4.984 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.003361, allocations: 18.58 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.003499, allocations: 57.53 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.456e-05/0.003513, allocations: 0 / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.003516, allocations: 4.859 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.003531, allocations: 0.5 kB / 0.7318 GB, free: 2.238 MB / 0.698 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.0004433/0.003974, allocations: 283.4 kB / 0.7321 GB, free: 1.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.00401, allocations: 8.031 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.004046, allocations: 8.922 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.545e-05/0.004142, allocations: 110.7 kB / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.004154, allocations: 384 / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.00417, allocations: 13.81 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/0.004244, allocations: 63.89 kB / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004251, allocations: 0.8125 kB / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.004259, allocations: 384 / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.004264, allocations: 1.281 kB / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.295e-05/0.004277, allocations: 11.92 kB / 0.7323 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.00449, allocations: 157.8 kB / 0.7324 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.534e-05/0.004525, allocations: 18.61 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-06/0.004535, allocations: 10.2 kB / 0.7324 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.466e-06/0.004538, allocations: 4.062 kB / 0.7324 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/0.004638, allocations: 77.09 kB / 0.7325 GB, free: 1.379 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.004639, allocations: 0.5312 kB / 0.7325 GB, free: 1.379 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001121/0.004751, allocations: 56.44 kB / 0.7326 GB, free: 1.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.004784, allocations: 55.34 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.32e-05/0.004847, allocations: 122.6 kB / 0.7327 GB, free: 1.121 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.004864, allocations: 29.7 kB / 0.7328 GB, free: 1.086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.004899, allocations: 84.14 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.247e-06/0.004909, allocations: 9.531 kB / 0.7329 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.004949, allocations: 25.7 kB / 0.7329 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.00503, allocations: 318.8 kB / 0.7332 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.005077, allocations: 45.69 kB / 0.7332 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.005126, allocations: 72.91 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.005184, allocations: 73.5 kB / 0.7334 GB, free: 428 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.005187, allocations: 4.547 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001132/0.0053, allocations: 142.5 kB / 0.7335 GB, free: 264 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.00534, allocations: 41.69 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.005345, allocations: 0 / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.005357, allocations: 5.281 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.887e-05/0.005376, allocations: 4.766 kB / 0.7336 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.005382, allocations: 3.984 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.005504, allocations: 16.64 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.005517, allocations: 4 kB / 0.7336 GB, free: 184 kB / 0.698 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 6.727e-05/0.005584, allocations: 119.2 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.005592, allocations: 4 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.005617, allocations: 5.25 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.00562, allocations: 5.031 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.005622, allocations: 0 / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.005626, allocations: 4 kB / 0.7337 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.374e-05/0.0057, allocations: 75.06 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.005702, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-06/0.005706, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005712, allocations: 4.812 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005714, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-06/0.005717, allocations: 0.5312 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.005718, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.00572, allocations: 5.562 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.005793, allocations: 69.34 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.005801, allocations: 4 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.005812, allocations: 1.016 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.005835, allocations: 3.984 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.005842, allocations: 9.453 kB / 0.7339 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.602e-05/0.005858, allocations: 13.73 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005858, allocations: 4 kB / 0.7339 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001163/0.005974, allocations: 12.66 kB / 0.7339 GB, free: 15.8 MB / 0.7136 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.0001212/0.006095, allocations: 103.1 kB / 0.734 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.006233, allocations: 128.4 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.006238, allocations: 6.031 kB / 0.7341 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.006257, allocations: 10.17 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.00639, allocations: 67.33 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.006776, allocations: 116.6 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.024e-05/0.006806, allocations: 59.84 kB / 0.7344 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.903e-05/0.006826, allocations: 5.469 kB / 0.7344 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.006896, allocations: 67.34 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.006896, allocations: 0 / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.002869/0.009766, allocations: 1.312 MB / 0.7357 GB, free: 13.93 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert/Buildings_12_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: 4.875202480703592]