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.491/1.491, allocations: 249.5 MB / 257 MB, free: 6.957 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.001182/0.001182, allocations: 188.3 kB / 316.3 MB, free: 3.23 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.626/1.626, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009469/0.0009465, allocations: 86.55 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.168e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7315/0.9746, allocations: 131.7 MB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.9748, allocations: 72.27 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001578/0.9764, allocations: 0.654 MB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9764, allocations: 0 / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9765, allocations: 0 / 1.015 GB, free: 5.504 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.0003296/0.9768, allocations: 334.2 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.9769, allocations: 12.03 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.9769, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.977, allocations: 167 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.9771, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.9771, allocations: 3.984 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.452e-05/0.9771, allocations: 16.48 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.599e-05/0.9772, allocations: 33.7 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.9772, allocations: 0 / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9772, allocations: 0 / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9773, allocations: 0 / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.9777, allocations: 255.6 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.9777, allocations: 26.02 kB / 1.015 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.105e-05/0.9777, allocations: 8.922 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.9778, allocations: 3.938 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.9779, allocations: 50.72 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.9779, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.978, allocations: 48.88 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.9781, allocations: 54.14 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.9782, allocations: 105.3 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.9782, allocations: 25.7 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.9782, allocations: 84.12 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.9783, allocations: 7.906 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.9783, allocations: 0 / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9784, allocations: 318.4 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.9784, allocations: 4 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.9785, allocations: 16.78 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.788e-05/0.9785, allocations: 11.56 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9785, allocations: 0 / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.151e-05/0.9786, allocations: 49.19 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.9786, allocations: 4 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.9786, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.9786, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.9787, allocations: 3.984 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.9787, allocations: 4.703 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.9787, allocations: 8.031 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.9788, allocations: 0 / 1.016 GB, free: 3.723 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 7.003e-05/0.9788, allocations: 108.9 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.9788, allocations: 3.906 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.9789, allocations: 11.8 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9789, allocations: 4 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.9789, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.9789, allocations: 3.938 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.979, allocations: 138.2 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.979, allocations: 4.938 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-06/0.979, allocations: 7.875 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.979, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.979, allocations: 4 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.9791, allocations: 3.984 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9791, allocations: 3.984 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.778e-05/0.9791, allocations: 65.5 kB / 1.016 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.9792, allocations: 85.06 kB / 1.017 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.9792, allocations: 7.938 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.9793, allocations: 4 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.9793, allocations: 7.984 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.9793, allocations: 256 / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.168e-05/0.9794, allocations: 87.03 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9794, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001826/0.9795, allocations: 4 kB / 1.017 GB, free: 3.105 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 9.803e-05/0.9796, allocations: 99.23 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.9797, allocations: 23.69 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9797, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.9798, allocations: 11.62 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.9799, allocations: 6.578 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.9801, allocations: 63.69 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.9804, allocations: 0.6806 MB / 1.017 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.9804, allocations: 8.062 kB / 1.017 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.9805, allocations: 7.438 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 1.743e-06/0.9805, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of Templates: time 0.002182/0.9826, allocations: 459.4 kB / 1.018 GB, free: 1.73 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