Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.28/2.28, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001512/0.001512, allocations: 184 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009642/0.0009642, allocations: 80.02 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.973e-05, allocations: 12 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2501, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8736/1.124, allocations: 149.6 MB / 1.365 GB, free: 4.395 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/1.124, allocations: 71.7 kB / 1.365 GB, free: 4.355 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0016/1.126, allocations: 0.6433 MB / 1.366 GB, free: 3.754 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.202e-06/1.126, allocations: 0 / 1.366 GB, free: 3.754 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.922e-06/1.126, allocations: 0 / 1.366 GB, free: 3.754 MB / 0.823 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.0002979/1.126, allocations: 333.5 kB / 1.366 GB, free: 3.391 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.126, allocations: 8.031 kB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/1.126, allocations: 7.984 kB / 1.366 GB, free: 3.375 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.126, allocations: 163.7 kB / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.126, allocations: 0 / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.126, allocations: 4 kB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.73e-05/1.126, allocations: 41.38 kB / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/1.126, allocations: 0 / 1.366 GB, free: 3.129 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/1.126, allocations: 4 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.126, allocations: 3.984 kB / 1.366 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/1.126, allocations: 11.31 kB / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/1.127, allocations: 271 kB / 1.366 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/1.127, allocations: 29.7 kB / 1.366 GB, free: 2.773 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/1.127, allocations: 8.922 kB / 1.366 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/1.127, allocations: 0 / 1.366 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/1.127, allocations: 38.55 kB / 1.366 GB, free: 2.715 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/1.127, allocations: 0 / 1.366 GB, free: 2.715 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/1.127, allocations: 40.52 kB / 1.366 GB, free: 2.676 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.127, allocations: 51.41 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/1.127, allocations: 92.98 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.127, allocations: 34.52 kB / 1.367 GB, free: 2.477 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/1.127, allocations: 91.69 kB / 1.367 GB, free: 2.387 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/1.127, allocations: 7.891 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.127, allocations: 0 / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/1.127, allocations: 314.4 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/1.127, allocations: 7.938 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/1.127, allocations: 4 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/1.128, allocations: 6.875 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.128, allocations: 5.969 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.151e-05/1.128, allocations: 41.19 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.128, allocations: 8 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.128, allocations: 0 / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/1.128, allocations: 0 / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.128, allocations: 11.98 kB / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/1.128, allocations: 0 / 1.367 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/1.128, allocations: 12.03 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/1.128, allocations: 3.953 kB / 1.367 GB, free: 1.969 MB / 0.823 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 6.232e-05/1.128, allocations: 104.9 kB / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/1.128, allocations: 0 / 1.367 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/1.128, allocations: 52.62 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.128, allocations: 0 / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.128, allocations: 0 / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.128, allocations: 3.984 kB / 1.367 GB, free: 1.809 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/1.128, allocations: 161.5 kB / 1.367 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.128, allocations: 4.031 kB / 1.367 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/1.128, allocations: 11.98 kB / 1.367 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.128, allocations: 7.938 kB / 1.367 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/1.128, allocations: 0.875 kB / 1.367 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.128, allocations: 0 / 1.367 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.128, allocations: 0 / 1.367 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/1.128, allocations: 151.2 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/1.129, allocations: 77.11 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/1.129, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/1.129, allocations: 8 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/1.129, allocations: 6.297 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/1.129, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.173e-05/1.129, allocations: 83.16 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.129, allocations: 0 / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001991/1.129, allocations: 4 kB / 1.368 GB, free: 1.238 MB / 0.823 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.0001207/1.129, allocations: 99.28 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.351e-05/1.129, allocations: 15.81 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.129, allocations: 0 / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-05/1.129, allocations: 11.88 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/1.129, allocations: 16.5 kB / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/1.13, allocations: 64.05 kB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/1.13, allocations: 0.6809 MB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.137e-05/1.13, allocations: 0 / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/1.13, allocations: 11.44 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of SimCode: time 3.41e-07/1.13, allocations: 0 / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of Templates: time 0.002082/1.132, allocations: 367.8 kB / 1.369 GB, free: 15.95 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches