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.529/1.529, allocations: 249.3 MB / 261.8 MB, free: 5.98 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.0009959/0.0009959, allocations: 184.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.000773/0.0007731, allocations: 88.8 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.092e-05/5.096e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2301, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8115/1.042, allocations: 131.4 MB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.042, allocations: 76.94 kB / 1.02 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002293/1.044, allocations: 0.6765 MB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/1.044, allocations: 0 / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.763e-06/1.044, allocations: 0 / 1.021 GB, free: 2.656 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.0004296/1.045, allocations: 333.6 kB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.045, allocations: 12.02 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/1.045, allocations: 4 kB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/1.045, allocations: 163 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.045, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.045, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/1.045, allocations: 41.56 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.045, allocations: 3.984 kB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.045, allocations: 4 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/1.045, allocations: 0 / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.35e-05/1.045, allocations: 15.06 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/1.046, allocations: 271.1 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.842e-05/1.046, allocations: 26.45 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/1.046, allocations: 8.922 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/1.046, allocations: 4.031 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.046, allocations: 37.69 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/1.046, allocations: 3.938 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001754/1.046, allocations: 41.3 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.046, allocations: 54.14 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/1.046, allocations: 93.03 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/1.046, allocations: 25.7 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/1.046, allocations: 91.62 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/1.046, allocations: 3.906 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/1.047, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.047, allocations: 318.1 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/1.047, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/1.047, allocations: 7.062 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/1.047, allocations: 4.062 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.047, allocations: 4 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.837e-05/1.047, allocations: 45.44 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.047, allocations: 4 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.047, allocations: 4 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.047, allocations: 0 / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/1.047, allocations: 11.98 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.047, allocations: 0 / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/1.047, allocations: 8.031 kB / 1.022 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.047, allocations: 4 kB / 1.022 GB, free: 0.875 MB / 0.6355 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 () * 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.827e-05/1.047, allocations: 108.1 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/1.047, allocations: 0 / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/1.047, allocations: 56.08 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.048, allocations: 0 / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.048, allocations: 3.984 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.048, allocations: 0.875 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/1.048, allocations: 168.4 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.048, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/1.048, allocations: 11.98 kB / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/1.048, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/1.048, allocations: 0 / 1.023 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.048, allocations: 7.562 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.048, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/1.048, allocations: 142.7 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/1.048, allocations: 83.92 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/1.048, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.048, allocations: 14.52 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/1.048, allocations: 7.938 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/1.048, allocations: 0 / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.83e-05/1.048, allocations: 82.53 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.048, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003125/1.049, allocations: 8.031 kB / 1.023 GB, free: 128 kB / 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: 0 () * Number of discrete 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.0001752/1.049, allocations: 95.39 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.241e-05/1.049, allocations: 14.94 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.049, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/1.049, allocations: 10.23 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/1.049, allocations: 8.141 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/1.05, allocations: 72.48 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.05, allocations: 0.677 MB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.855e-05/1.05, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/1.05, allocations: 11.44 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of SimCode: time 2.324e-06/1.05, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of Templates: time 0.002622/1.053, allocations: 361.5 kB / 1.024 GB, free: 14.85 MB / 0.6511 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