Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 193.7 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 71.83 kB / 1.109 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.913/0.9151, allocations: 168.7 MB / 1.274 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002018/0.9172, allocations: 0.5888 MB / 1.275 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.9187, allocations: 1.12 MB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.917e-05/0.9188, allocations: 4 kB / 1.276 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.9188, allocations: 3.938 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.9189, allocations: 3.938 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.9194, allocations: 138.9 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.9195, allocations: 83.89 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.098e-05/0.9196, allocations: 7.984 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.847e-05/0.9197, allocations: 31.92 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.9198, allocations: 31.94 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.9198, allocations: 8 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.9199, allocations: 23.98 kB / 1.276 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.9199, allocations: 7.938 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.92, allocations: 23.92 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.9201, allocations: 86.45 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.9201, allocations: 4 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9201, allocations: 0 / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.9201, allocations: 0 / 1.276 GB, free: 2.43 MB / 0.9669 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.0005205/0.9206, allocations: 377 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.9207, allocations: 12.03 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.9207, allocations: 8.891 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.9209, allocations: 164.4 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.9209, allocations: 4.375 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.9209, allocations: 12.38 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.05e-05/0.921, allocations: 34.25 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.921, allocations: 192 / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.921, allocations: 7.938 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.921, allocations: 0 / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.921, allocations: 11.92 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.9214, allocations: 280.9 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.9215, allocations: 26.52 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.9215, allocations: 8.922 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.9215, allocations: 0 / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.9217, allocations: 67.28 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9217, allocations: 0 / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.9219, allocations: 57.69 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.9219, allocations: 55.41 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.9221, allocations: 113.8 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.9221, allocations: 29.7 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.9221, allocations: 88.12 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.9222, allocations: 5.5 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.9222, allocations: 29.7 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9224, allocations: 314.8 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.9224, allocations: 27.98 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.592e-05/0.9225, allocations: 58.48 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.9226, allocations: 76.45 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.9226, allocations: 3.938 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002584/0.9229, allocations: 155.2 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.9229, allocations: 33.7 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9229, allocations: 4.312 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.923, allocations: 4.094 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.93e-05/0.923, allocations: 7.938 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.923, allocations: 0 / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.9232, allocations: 31.91 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.9232, allocations: 11.98 kB / 1.278 GB, free: 84 kB / 0.9669 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.0001126/0.9233, allocations: 114.3 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.9233, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.9234, allocations: 15.91 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9234, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.9234, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9234, allocations: 3.984 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.9235, allocations: 157.6 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9235, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.9235, allocations: 4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9235, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.9235, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9235, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9235, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.9237, allocations: 96.94 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.9237, allocations: 77.11 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.9237, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.9237, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.9238, allocations: 4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.9238, allocations: 7.984 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.001e-05/0.9238, allocations: 79.28 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9238, allocations: 0 / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002143/0.924, allocations: 20 kB / 1.279 GB, free: 15.41 MB / 0.9825 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.0001483/0.9242, allocations: 107.2 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.9244, allocations: 107.3 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9244, allocations: 0 / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.9244, allocations: 11.98 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.9246, allocations: 17.78 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.9249, allocations: 134.1 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.9252, allocations: 0.6845 MB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.732e-05/0.9252, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.9253, allocations: 11.44 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.9253, allocations: 0 / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.003897/0.9292, allocations: 1.079 MB / 1.281 GB, free: 13.21 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.31536858016625]