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.0015/0.0015, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001111/0.001111, allocations: 173.4 kB / 23.35 MB, free: 1.137 MB / 18.57 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.9732/0.9732, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.446/2.446, allocations: 438.8 MB / 0.6827 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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 1.643e-06/1.643e-06, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.867e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001136/0.001155, allocations: 0.6086 MB / 0.8391 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.002278, allocations: 1.166 MB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.002317, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.407e-05/0.002341, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.768e-05/0.002409, allocations: 7.922 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.002774, allocations: 115.6 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.002902, allocations: 91.83 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.53e-05/0.002968, allocations: 8 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.003048, allocations: 51.88 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.003121, allocations: 23.91 kB / 0.8406 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003138, allocations: 8 kB / 0.8406 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-05/0.003194, allocations: 23.98 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.003211, allocations: 3.984 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.003242, allocations: 19.98 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.003356, allocations: 79.77 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003358, allocations: 0 / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003359, allocations: 4 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.003362, allocations: 0 / 0.8407 GB, free: 12.07 MB / 0.8073 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.0002898/0.003652, allocations: 278.6 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.003685, allocations: 8.625 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.003715, allocations: 8.922 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.551e-05/0.00379, allocations: 113.7 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003802, allocations: 8.312 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.003822, allocations: 4.375 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.976e-05/0.003901, allocations: 59.95 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.003908, allocations: 192 / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.003914, allocations: 4.375 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.003919, allocations: 384 / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-06/0.003929, allocations: 7.938 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.004114, allocations: 156.3 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.00415, allocations: 18.52 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-06/0.004159, allocations: 8.922 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-06/0.004161, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.648e-05/0.004238, allocations: 89.08 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.004239, allocations: 0 / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.871e-05/0.004337, allocations: 53.55 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.004365, allocations: 59.41 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.004417, allocations: 102.7 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.004433, allocations: 33.69 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.004466, allocations: 92.09 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-06/0.004472, allocations: 0 / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.00451, allocations: 29.69 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.004577, allocations: 310.8 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.004614, allocations: 49.69 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.00466, allocations: 76.55 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.004712, allocations: 80.14 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004713, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001193/0.004833, allocations: 149 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.004857, allocations: 29.7 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004861, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.004873, allocations: 7.938 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.184e-05/0.004885, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.004888, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.865e-05/0.004986, allocations: 31.92 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.004998, allocations: 8.094 kB / 0.8425 GB, free: 10 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 5.694e-05/0.005055, allocations: 113.8 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.005061, allocations: 3.984 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.00508, allocations: 12 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.005082, allocations: 4.172 kB / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005084, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005086, allocations: 0 / 0.8426 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.683e-05/0.005143, allocations: 73.86 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005144, allocations: 0 / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-06/0.005148, allocations: 4 kB / 0.8427 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.005149, allocations: 4 kB / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.005152, allocations: 0 / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005153, allocations: 0 / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005154, allocations: 0 / 0.8427 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.445e-05/0.005209, allocations: 65.06 kB / 0.8428 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.005214, allocations: 4 kB / 0.8428 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.005222, allocations: 3.984 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.005229, allocations: 3.938 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.005246, allocations: 0 / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.005251, allocations: 11.94 kB / 0.8428 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.32e-05/0.005264, allocations: 12.84 kB / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005264, allocations: 4 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001153/0.005379, allocations: 19.94 kB / 0.8428 GB, free: 9.621 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 8.903e-05/0.005468, allocations: 76.42 kB / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.005585, allocations: 126.1 kB / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.005587, allocations: 0 / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.005604, allocations: 28.7 kB / 0.843 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.574e-05/0.0057, allocations: 15.98 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.005888, allocations: 112.8 kB / 0.8432 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.651e-05/0.005915, allocations: 63.28 kB / 0.8432 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.00593, allocations: 4 kB / 0.8432 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.005992, allocations: 63.36 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.005993, allocations: 0 / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of Templates: time 0.002658/0.008651, allocations: 1.301 MB / 0.8446 GB, free: 7.789 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.461976441089064]