Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.219/2.219, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001187/0.001187, allocations: 176.8 kB / 496.1 MB, free: 12.89 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.632/1.632, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001099/0.001099, allocations: 99.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.691e-05, allocations: 11.98 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3706, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.504, allocations: 149.7 MB / 1.365 GB, free: 4.414 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.505, allocations: 72.27 kB / 1.365 GB, free: 4.375 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003456/1.508, allocations: 1.143 MB / 1.366 GB, free: 3.355 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.363e-06/1.508, allocations: 0 / 1.366 GB, free: 3.355 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.562e-06/1.508, allocations: 0 / 1.366 GB, free: 3.355 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004473/1.509, allocations: 366.4 kB / 1.366 GB, free: 2.961 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.509, allocations: 12.03 kB / 1.366 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/1.509, allocations: 3.906 kB / 1.366 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.509, allocations: 171 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/1.509, allocations: 2.625 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/1.509, allocations: 4 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/1.509, allocations: 79.28 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.509, allocations: 3.938 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.509, allocations: 0 / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.509, allocations: 0 / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/1.509, allocations: 51.73 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/1.51, allocations: 345.8 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/1.51, allocations: 74.81 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/1.51, allocations: 26.2 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/1.51, allocations: 3.984 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/1.51, allocations: 30.56 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/1.51, allocations: 0 / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002426/1.51, allocations: 89.36 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.51, allocations: 55.39 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/1.511, allocations: 117.2 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.511, allocations: 29.64 kB / 1.368 GB, free: 1.855 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/1.511, allocations: 94.94 kB / 1.368 GB, free: 1.766 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/1.511, allocations: 19.66 kB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/1.511, allocations: 3.188 kB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.511, allocations: 314.8 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/1.511, allocations: 25.31 kB / 1.368 GB, free: 1.414 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/1.511, allocations: 13.75 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/1.511, allocations: 22.86 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.511, allocations: 0 / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001358/1.511, allocations: 77.72 kB / 1.368 GB, free: 1.324 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.511, allocations: 4 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.511, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.511, allocations: 0 / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.511, allocations: 27.91 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.511, allocations: 7.953 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/1.512, allocations: 8 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.512, allocations: 4.094 kB / 1.368 GB, free: 1.273 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 (6): * Single equations (assignments): 6 * 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 7.862e-05/1.512, allocations: 108.2 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/1.512, allocations: 7.906 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/1.512, allocations: 7.688 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.512, allocations: 4 kB / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.512, allocations: 0 / 1.368 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.512, allocations: 7.953 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/1.512, allocations: 193.5 kB / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.512, allocations: 0 / 1.368 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/1.512, allocations: 23.97 kB / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.512, allocations: 0 / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.512, allocations: 0 / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.512, allocations: 0.6875 kB / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.512, allocations: 0 / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/1.512, allocations: 188.8 kB / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/1.512, allocations: 77.11 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.512, allocations: 3.438 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/1.513, allocations: 15.98 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/1.513, allocations: 11.3 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/1.513, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.05e-05/1.513, allocations: 97.33 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.513, allocations: 0 / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002118/1.513, allocations: 19.94 kB / 1.369 GB, free: 492 kB / 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 (6): * Single equations (assignments): 6 * 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.0001897/1.513, allocations: 110.2 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000142/1.513, allocations: 51.42 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.513, allocations: 0 / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/1.513, allocations: 33.06 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/1.514, allocations: 1.234 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/1.514, allocations: 124.2 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/1.514, allocations: 0.6887 MB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.061e-05/1.514, allocations: 4.188 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/1.514, allocations: 19.42 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.514, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.003342/1.518, allocations: 1.046 MB / 1.371 GB, free: 14.41 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches