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.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 182.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.281/2.281, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008873/0.0008869, allocations: 100.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003389, allocations: 9.344 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2609, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.4482, allocations: 131.5 MB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4485, allocations: 71.94 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002032/0.4505, allocations: 0.6491 MB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.466e-06/0.4506, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4506, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 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.000543/0.4511, allocations: 335.5 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4512, allocations: 16.02 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.4513, allocations: 4 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4515, allocations: 170.9 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4515, allocations: 7.938 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.4515, allocations: 3.938 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.4517, allocations: 37.69 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4517, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4517, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4517, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.4518, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.4523, allocations: 272.9 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.4524, allocations: 22.52 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.4524, allocations: 4.062 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.4527, allocations: 63.38 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4527, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002236/0.4529, allocations: 57.62 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.453, allocations: 51.41 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4531, allocations: 97 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4531, allocations: 25.7 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.4532, allocations: 92.11 kB / 1.03 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.4532, allocations: 3.906 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.4532, allocations: 8 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4534, allocations: 318.8 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.4534, allocations: 4 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.4534, allocations: 25.64 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.998e-05/0.4535, allocations: 4 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4535, allocations: 0 / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.765e-05/0.4536, allocations: 53.88 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4536, allocations: 12.03 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4536, allocations: 0 / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4536, allocations: 0 / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.4537, allocations: 8 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4537, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.4538, allocations: 11.89 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.4538, allocations: 4 kB / 1.031 GB, free: 9.684 MB / 0.6823 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 () * Number of clocked 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 0.0001064/0.4539, allocations: 113.8 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.4539, allocations: 8 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.4539, allocations: 3.5 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.454, allocations: 3.938 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.454, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.454, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.4541, allocations: 165.6 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4541, allocations: 3.938 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-06/0.4542, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.4542, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4542, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.4542, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4542, allocations: 8 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.663e-05/0.4543, allocations: 73.08 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.4544, allocations: 89 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.4544, allocations: 0 / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.4544, allocations: 4 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.4545, allocations: 8.359 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.4545, allocations: 0 / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.4545, allocations: 87.28 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4546, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001868/0.4547, allocations: 4 kB / 1.031 GB, free: 9.023 MB / 0.6823 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 () * 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 (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.000127/0.4549, allocations: 111.2 kB / 1.031 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.455, allocations: 15.98 kB / 1.031 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.455, allocations: 0 / 1.031 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.455, allocations: 8 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.4552, allocations: 26.28 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.4556, allocations: 126.5 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4559, allocations: 0.6848 MB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.456, allocations: 4 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.456, allocations: 7.438 kB / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.456, allocations: 0 / 1.032 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of Templates: time 0.002571/0.4586, allocations: 468 kB / 1.033 GB, free: 7.531 MB / 0.6823 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