Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 181.1 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.0009327, allocations: 94.83 kB / 0.9346 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004388, allocations: 13.91 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.33, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.523, allocations: 148.8 MB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.5233, allocations: 75.94 kB / 1.368 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002635/0.526, allocations: 1.045 MB / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.526, allocations: 0 / 1.369 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.526, allocations: 0 / 1.369 GB, free: 12.08 MB / 0.8698 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.0003392/0.5264, allocations: 343.3 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5264, allocations: 8.031 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.5264, allocations: 4 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.5265, allocations: 174.9 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5266, allocations: 3.984 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.5266, allocations: 0 / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5268, allocations: 61.61 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.5268, allocations: 4 kB / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5268, allocations: 0 / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.5268, allocations: 0 / 1.37 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.527, allocations: 39.97 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.5274, allocations: 268.9 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.5275, allocations: 38.56 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.5275, allocations: 11.88 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.5276, allocations: 38.62 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5276, allocations: 0 / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.5279, allocations: 93.73 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.528, allocations: 51.41 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.5281, allocations: 96.98 kB / 1.37 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.5281, allocations: 25.7 kB / 1.37 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.5281, allocations: 84.05 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.5281, allocations: 4 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5282, allocations: 4 kB / 1.371 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.5283, allocations: 318.8 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.5283, allocations: 27.86 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.5284, allocations: 23.97 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.5285, allocations: 24.05 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5285, allocations: 0 / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.5287, allocations: 81.56 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5287, allocations: 4 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.5287, allocations: 4.031 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5288, allocations: 4 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.5288, allocations: 11.98 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5289, allocations: 4 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.5289, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.5289, allocations: 0 / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.514e-05/0.529, allocations: 117.8 kB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.529, allocations: 0 / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.5291, allocations: 11.11 kB / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5291, allocations: 0 / 1.371 GB, free: 9.906 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5291, allocations: 7.938 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5291, allocations: 0 / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.5292, allocations: 157.6 kB / 1.371 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5292, allocations: 0 / 1.371 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.5293, allocations: 11.98 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5293, allocations: 0 / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5293, allocations: 4 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5293, allocations: 0 / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5293, allocations: 0 / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.5296, allocations: 175.5 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.5296, allocations: 81.02 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.5296, allocations: 4 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.5297, allocations: 11.98 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.5297, allocations: 0 / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.5297, allocations: 192 / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.601e-05/0.5298, allocations: 91.19 kB / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.493e-06/0.5298, allocations: 0 / 1.372 GB, free: 9.289 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001927/0.53, allocations: 11.97 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001334/0.5301, allocations: 103 kB / 1.372 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.5303, allocations: 47.95 kB / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5303, allocations: 8 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.332e-05/0.5304, allocations: 19.98 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.5306, allocations: 9.359 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.5309, allocations: 108.6 kB / 1.372 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.5311, allocations: 0.6849 MB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.5311, allocations: 3.938 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.5312, allocations: 7.438 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.5312, allocations: 0 / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of Templates: time 0.001971/0.5331, allocations: 350.9 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches