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.001777/0.001777, allocations: 80.61 kB / 19.18 MB, free: 2.52 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.001733/0.001733, allocations: 164 kB / 22.46 MB, free: 5.375 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.498/1.498, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.91/2.91, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.075e-06/3.075e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.133e-05/4.44e-05, allocations: 2.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001834/0.001879, allocations: 0.6 MB / 1.001 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003519, allocations: 1.139 MB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.003571, allocations: 0 / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.003596, allocations: 7.938 kB / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.003689, allocations: 0 / 1.002 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.004201, allocations: 122.2 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.004392, allocations: 91.81 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.004486, allocations: 4 kB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.004597, allocations: 47.91 kB / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004706, allocations: 23.95 kB / 1.002 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.004739, allocations: 11.98 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.004819, allocations: 23.98 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.004838, allocations: 4 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.004901, allocations: 23.98 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.005096, allocations: 99.75 kB / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.0051, allocations: 0 / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005101, allocations: 0 / 1.002 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005106, allocations: 0 / 1.002 GB, free: 5.113 MB / 0.9512 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.0005387/0.005645, allocations: 304 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.005691, allocations: 12.03 kB / 1.003 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.005747, allocations: 8.875 kB / 1.003 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.005885, allocations: 109.7 kB / 1.003 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.005902, allocations: 8.375 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.005921, allocations: 4.375 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.006052, allocations: 59.95 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006061, allocations: 192 / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.006073, allocations: 8.312 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.006078, allocations: 384 / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.006108, allocations: 7.938 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.0065, allocations: 232.5 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.924e-05/0.006549, allocations: 18.58 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.785e-05/0.006567, allocations: 4.859 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.006575, allocations: 4 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.006748, allocations: 89.16 kB / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.00675, allocations: 0 / 1.003 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002084/0.006958, allocations: 69.56 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.007006, allocations: 51.41 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007108, allocations: 113.8 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.007138, allocations: 29.7 kB / 1.003 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.007199, allocations: 84.09 kB / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.007214, allocations: 7.984 kB / 1.003 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.00728, allocations: 29.7 kB / 1.003 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.007445, allocations: 318.8 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.00754, allocations: 57.94 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.00765, allocations: 84.25 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.007767, allocations: 84.42 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007768, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002828/0.008051, allocations: 181 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.00809, allocations: 37.62 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.008097, allocations: 4 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.008113, allocations: 4.094 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.008128, allocations: 0 / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.008133, allocations: 0 / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.008341, allocations: 31.97 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.008362, allocations: 7.984 kB / 1.004 GB, free: 2.84 MB / 0.9512 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 9.797e-05/0.00846, allocations: 113.8 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.008474, allocations: 3.953 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.008503, allocations: 15.94 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.008505, allocations: 0 / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008508, allocations: 4 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008511, allocations: 0 / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.008613, allocations: 105.3 kB / 1.004 GB, free: 2.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008614, allocations: 4 kB / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.008619, allocations: 0 / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.008621, allocations: 0 / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008627, allocations: 0 / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.00863, allocations: 3.938 kB / 1.004 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008631, allocations: 0 / 1.004 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.008744, allocations: 85.05 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.008752, allocations: 4 kB / 1.005 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.008764, allocations: 4 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.008783, allocations: 7.875 kB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.008807, allocations: 3.984 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.008813, allocations: 7.938 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.008861, allocations: 87.34 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008861, allocations: 0 / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002199/0.009081, allocations: 16 kB / 1.005 GB, free: 2.32 MB / 0.9512 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.0001494/0.00923, allocations: 111.1 kB / 1.005 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.009464, allocations: 137.2 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.009466, allocations: 4 kB / 1.005 GB, free: 2.047 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.009495, allocations: 11.92 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.009692, allocations: 8 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.009985, allocations: 116.9 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.0101, allocations: 59.34 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.01012, allocations: 4 kB / 1.005 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.01014, allocations: 8.5 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.01014, allocations: 4.062 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of Templates: time 0.00399/0.01413, allocations: 1.171 MB / 1.006 GB, free: 0.6445 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.456451784819365]