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.0009804/0.0009804, allocations: 80.81 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.001088/0.001088, allocations: 173 kB / 23.36 MB, free: 1.133 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.9885/0.9885, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.418/2.418, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.734e-06/1.734e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.654e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001194/0.001211, allocations: 0.6456 MB / 0.8392 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002332, allocations: 1.158 MB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.002371, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.002399, allocations: 3.938 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.002468, allocations: 7.922 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.002817, allocations: 119.6 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.002936, allocations: 87.81 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.003006, allocations: 11.98 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.949e-05/0.003085, allocations: 43.97 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.003157, allocations: 23.95 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.003175, allocations: 8 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.646e-05/0.003242, allocations: 23.92 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.003256, allocations: 4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.003289, allocations: 23.97 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.003409, allocations: 79.78 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003411, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003411, allocations: 0 / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003415, allocations: 3.938 kB / 0.8408 GB, free: 11.92 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.0002948/0.00371, allocations: 278.6 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.003739, allocations: 8.625 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.003768, allocations: 8.922 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.331e-05/0.003841, allocations: 109.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003851, allocations: 4.375 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.003864, allocations: 4.375 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.725e-05/0.003931, allocations: 63.95 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003939, allocations: 4.125 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.003945, allocations: 384 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.003951, allocations: 384 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.199e-05/0.003963, allocations: 11.92 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.004152, allocations: 156.3 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.253e-05/0.004184, allocations: 14.58 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-06/0.004192, allocations: 8.922 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-06/0.004195, allocations: 0 / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.999e-05/0.004275, allocations: 85.03 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004276, allocations: 4 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001006/0.004377, allocations: 53.61 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.004403, allocations: 51.41 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.00446, allocations: 110.7 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.004477, allocations: 33.64 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.00451, allocations: 88.09 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.004523, allocations: 7.984 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.00456, allocations: 21.7 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/0.004638, allocations: 322.8 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.004679, allocations: 49.69 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.309e-05/0.004722, allocations: 64.58 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.004779, allocations: 88.41 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00478, allocations: 0 / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001233/0.004904, allocations: 141 kB / 0.8425 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.004929, allocations: 33.7 kB / 0.8425 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004934, allocations: 3.984 kB / 0.8425 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.004947, allocations: 7.938 kB / 0.8425 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.215e-05/0.004959, allocations: 0 / 0.8425 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.004962, allocations: 3.938 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.00506, allocations: 28.03 kB / 0.8426 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.005071, allocations: 4 kB / 0.8426 GB, free: 9.852 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.693e-05/0.005128, allocations: 121.8 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-06/0.005134, allocations: 0 / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.005149, allocations: 4 kB / 0.8427 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.005153, allocations: 7.938 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.005154, allocations: 0 / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.005157, allocations: 0 / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.492e-05/0.005212, allocations: 77.81 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.005213, allocations: 4 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-06/0.005217, allocations: 3.938 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005219, allocations: 4 kB / 0.8428 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.005222, allocations: 0 / 0.8428 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005223, allocations: 0 / 0.8428 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.005224, allocations: 0 / 0.8428 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.492e-05/0.005279, allocations: 69.05 kB / 0.8429 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.005285, allocations: 4 kB / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-06/0.005292, allocations: 0 / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.0053, allocations: 0 / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.005317, allocations: 0 / 0.8429 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.005324, allocations: 15.92 kB / 0.8429 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.231e-05/0.005336, allocations: 16.84 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005336, allocations: 0 / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001144/0.005451, allocations: 12 kB / 0.8429 GB, free: 9.473 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.403e-05/0.005535, allocations: 88.59 kB / 0.843 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.005652, allocations: 129.9 kB / 0.8431 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.005654, allocations: 0 / 0.8431 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.005668, allocations: 8.859 kB / 0.8431 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.446e-05/0.005762, allocations: 24.11 kB / 0.8431 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.005959, allocations: 108.6 kB / 0.8433 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.00603, allocations: 63.3 kB / 0.8433 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.553e-05/0.006046, allocations: 4 kB / 0.8433 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.006114, allocations: 71.33 kB / 0.8434 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.006115, allocations: 0 / 0.8434 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.002634/0.008749, allocations: 1.306 MB / 0.8447 GB, free: 7.629 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 -s gbode -gbm=radauIIA3 -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.262800852302462]