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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001069/0.001069, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008121/0.0008122, allocations: 82.48 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.953e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6682/0.8487, allocations: 131.4 MB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.849, allocations: 72.52 kB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001538/0.8505, allocations: 0.6532 MB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8506, allocations: 0 / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.8506, allocations: 0 / 1.021 GB, free: 2.715 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.0003207/0.8509, allocations: 337.7 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8509, allocations: 8.031 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.851, allocations: 4 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.8511, allocations: 171 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.8511, allocations: 3.25 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.8511, allocations: 0 / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.374e-05/0.8512, allocations: 41.2 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.8513, allocations: 0 / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.8513, allocations: 3.984 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.8513, allocations: 0 / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.8513, allocations: 7.938 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.8517, allocations: 267.6 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.122e-05/0.8518, allocations: 33.94 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.8518, allocations: 8.922 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.8519, allocations: 0 / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001126/0.852, allocations: 58.34 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.852, allocations: 3.938 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001341/0.8521, allocations: 44.88 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.8522, allocations: 66.12 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/0.8523, allocations: 92.19 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.8523, allocations: 29.7 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.8523, allocations: 83.39 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.8523, allocations: 3.906 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.8523, allocations: 0 / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.8524, allocations: 326.3 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.8525, allocations: 4 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.8525, allocations: 20.59 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.8525, allocations: 9.75 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.8525, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.121e-05/0.8526, allocations: 51.69 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8526, allocations: 9.875 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8526, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.8527, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.8527, allocations: 7.938 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8527, allocations: 0 / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.8528, allocations: 12.02 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.8528, allocations: 4 kB / 1.022 GB, free: 0.875 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 6.193e-05/0.8529, allocations: 110.7 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.8529, allocations: 7.906 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.8529, allocations: 3.5 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8529, allocations: 0 / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8529, allocations: 0.875 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8529, allocations: 7.922 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.853, allocations: 169.3 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8531, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-06/0.8531, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8531, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8531, allocations: 2.938 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.8531, allocations: 3.984 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8531, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.097e-05/0.8532, allocations: 76.14 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.8532, allocations: 81.11 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.8533, allocations: 7.938 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.199e-05/0.8533, allocations: 7.984 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.8534, allocations: 7.938 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.8534, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.8534, allocations: 82.53 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8534, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00017/0.8536, allocations: 8 kB / 1.023 GB, free: 244 kB / 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 0.0001078/0.8537, allocations: 103.2 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.454e-05/0.8538, allocations: 15.38 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8538, allocations: 3.938 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.8538, allocations: 11.44 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.854, allocations: 11.94 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.8542, allocations: 63.75 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.8544, allocations: 0.6849 MB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.8544, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.8545, allocations: 11.38 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/0.8545, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.002075/0.8565, allocations: 487.3 kB / 1.024 GB, free: 14.83 MB / 0.6511 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