Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11 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.001178/0.001178, allocations: 184.8 kB / 326.5 MB, free: 2.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.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009298/0.0009299, allocations: 90.05 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003569, allocations: 12.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2626, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.4444, allocations: 131.4 MB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4448, allocations: 71.95 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001805/0.4466, allocations: 0.6609 MB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4466, allocations: 0 / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.4466, allocations: 0 / 1.029 GB, free: 11.6 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.0003991/0.447, allocations: 335.3 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4471, allocations: 8.031 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.4471, allocations: 7.938 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.4473, allocations: 171 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4473, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.4473, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.4475, allocations: 53.67 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4475, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.4475, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4475, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.4477, allocations: 47.91 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.4482, allocations: 276.8 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.4483, allocations: 42.56 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.4484, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4484, allocations: 34.62 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.4484, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003658/0.4488, allocations: 97.58 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.4488, allocations: 51.41 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.4489, allocations: 96.98 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4489, allocations: 29.83 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.449, allocations: 84.14 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.449, allocations: 7.906 kB / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.449, allocations: 0 / 1.03 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4491, allocations: 314.8 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.4492, allocations: 27.97 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.4493, allocations: 19.98 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.137e-05/0.4494, allocations: 23.98 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4494, allocations: 0 / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.4496, allocations: 81.66 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4496, allocations: 6.188 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4496, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4497, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.4498, allocations: 15.98 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4498, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.4498, allocations: 8.031 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4498, allocations: 0 / 1.031 GB, free: 9.582 MB / 0.6823 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 8.548e-05/0.4499, allocations: 124 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.45, allocations: 0 / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.4502, allocations: 92.66 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.4502, allocations: 0 / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4502, allocations: 0 / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4502, allocations: 0 / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.4504, allocations: 165.7 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4504, allocations: 8 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.065e-05/0.4505, allocations: 8 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4505, allocations: 3.984 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4505, allocations: 4.031 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4505, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4505, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.4508, allocations: 175.5 kB / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.4508, allocations: 85.09 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.4508, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.4509, allocations: 4 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.451, allocations: 11.92 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.451, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.451, allocations: 83.28 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.451, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001969/0.4512, allocations: 4 kB / 1.032 GB, free: 8.73 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: 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.0001367/0.4514, allocations: 99.28 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.4516, allocations: 47.95 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4516, allocations: 64 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.4517, allocations: 27.98 kB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.4519, allocations: 7.953 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.4522, allocations: 112.6 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.4525, allocations: 0.6848 MB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.4525, allocations: 4 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.4525, allocations: 7.438 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/0.4525, allocations: 0 / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of Templates: time 0.002052/0.4546, allocations: 355.3 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches