Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 196.3 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008915/0.0008915, allocations: 95.95 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.773e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1617, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4591/0.6209, allocations: 131.7 MB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.6211, allocations: 71.2 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001457/0.6226, allocations: 356.2 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.6226, allocations: 0 / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003153/0.6229, allocations: 338.7 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.623, allocations: 8.031 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.623, allocations: 4 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6232, allocations: 174.9 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.6232, allocations: 3.312 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.6232, allocations: 4 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.677e-05/0.6232, allocations: 7 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.508e-05/0.6233, allocations: 36.81 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6233, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.6233, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6234, allocations: 4 kB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.6237, allocations: 248 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.636e-05/0.6237, allocations: 26.02 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.6238, allocations: 8.922 kB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.6238, allocations: 0 / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.6238, allocations: 51.3 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6238, allocations: 0 / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001209/0.624, allocations: 46.28 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.624, allocations: 55.41 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.731e-05/0.6241, allocations: 103.2 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.6241, allocations: 25.7 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.6242, allocations: 87.39 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.6242, allocations: 7.906 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.6242, allocations: 0 / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.6243, allocations: 314.4 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.6243, allocations: 7.938 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/0.6243, allocations: 21.64 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.614e-05/0.6243, allocations: 4 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6243, allocations: 0 / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.262e-05/0.6244, allocations: 57.03 kB / 1.015 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.6244, allocations: 8 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6244, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.6245, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.6245, allocations: 0 / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.6245, allocations: 7.984 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.6246, allocations: 4 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.6246, allocations: 4 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assert.u,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.6247, allocations: 109 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.6247, allocations: 3.906 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.6247, allocations: 10.94 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6247, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6247, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.6247, allocations: 192 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.301e-05/0.6248, allocations: 142 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6248, allocations: 3.984 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.6248, allocations: 8.859 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6249, allocations: 0 / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.6249, allocations: 4 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.6249, allocations: 0 / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6249, allocations: 0 / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.635e-05/0.625, allocations: 72.41 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.625, allocations: 83.36 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.625, allocations: 4 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.6251, allocations: 11.98 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.6251, allocations: 0 / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.6252, allocations: 7.906 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.202e-05/0.6252, allocations: 86.83 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001761/0.6254, allocations: 4 kB / 1.016 GB, free: 4.359 MB / 0.6355 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,assert.u,booPul.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.481e-05/0.6255, allocations: 95.25 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.6255, allocations: 19.38 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6255, allocations: 64 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.6256, allocations: 15.12 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.6257, allocations: 11.92 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001756/0.6259, allocations: 63.66 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.6261, allocations: 0.6876 MB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/0.6261, allocations: 0 / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of Templates: time 0.002284/0.6284, allocations: 500 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches