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.Cos.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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, 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.001094/0.001094, allocations: 181.5 kB / 326.5 MB, free: 2.234 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.853/1.853, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.000922/0.0009219, allocations: 90.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 14.53 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2685, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.4569, allocations: 131.4 MB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.4572, allocations: 71.89 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001913/0.4592, allocations: 0.6765 MB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4592, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.4592, allocations: 4 kB / 1.029 GB, free: 11.52 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.0004126/0.4596, allocations: 335.3 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4597, allocations: 12.03 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.4597, allocations: 3.938 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.4599, allocations: 171 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4599, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.4599, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.4601, allocations: 57.61 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.4601, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.4602, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4602, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.4604, allocations: 43.97 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.4609, allocations: 268.8 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.461, allocations: 50.56 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.461, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.4611, allocations: 30.56 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.4611, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003806/0.4615, allocations: 97.64 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4615, allocations: 51.41 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.4616, allocations: 96.98 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4616, allocations: 25.7 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.4617, allocations: 84.27 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.4617, allocations: 7.906 kB / 1.03 GB, free: 10 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.4617, allocations: 3.938 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4619, allocations: 314.8 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.462, allocations: 27.97 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.462, allocations: 23.98 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.603e-05/0.4621, allocations: 19.98 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4621, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.4623, allocations: 77.72 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4624, allocations: 4 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4624, allocations: 4 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4624, allocations: 0 / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4625, allocations: 11.98 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4625, allocations: 0 / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.053e-05/0.4626, allocations: 4 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.4626, allocations: 8.031 kB / 1.031 GB, free: 9.496 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.927e-05/0.4627, allocations: 121.7 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.4627, allocations: 0 / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.463, allocations: 88.66 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.463, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.463, allocations: 4 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.463, allocations: 192 / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.4632, allocations: 161.5 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4632, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.4633, allocations: 11.98 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4633, allocations: 3.984 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.4633, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4633, allocations: 0 / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4633, allocations: 4.031 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.4636, allocations: 179.4 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.4636, allocations: 81.09 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4636, allocations: 8.031 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4637, allocations: 8 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4638, allocations: 3.984 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.4638, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.4638, allocations: 83.28 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4638, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001969/0.464, allocations: 4 kB / 1.032 GB, free: 8.648 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.0001969/0.4642, allocations: 103.2 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.4644, allocations: 43.95 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4645, allocations: 0 / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.4646, allocations: 31.98 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4648, allocations: 9.672 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.4651, allocations: 108.6 kB / 1.032 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.4654, allocations: 0.6848 MB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.4654, allocations: 64 / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.4655, allocations: 11.44 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.4655, allocations: 0 / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of Templates: time 0.002168/0.4676, allocations: 354.5 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches