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.Modulo.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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.91 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.001103/0.001103, allocations: 183.9 kB / 316.3 MB, free: 3.242 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.694/1.694, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009205/0.0009206, allocations: 93.83 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.519e-05/2.52e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2188, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7591/0.978, allocations: 131.6 MB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.9783, allocations: 72.64 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003923/0.9822, allocations: 1.423 MB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9822, allocations: 0 / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.9822, allocations: 4 kB / 1.015 GB, free: 4.926 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004709/0.9827, allocations: 354.2 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.9828, allocations: 12.03 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.9828, allocations: 3.906 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.983, allocations: 171 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.9831, allocations: 0.75 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.9831, allocations: 4 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.9832, allocations: 23.11 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.9833, allocations: 41.08 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9833, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.9833, allocations: 3.938 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.9834, allocations: 7.922 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.984, allocations: 283.9 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.615e-05/0.9841, allocations: 37.64 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.999e-05/0.9842, allocations: 12.42 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.9842, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.9843, allocations: 38.56 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.9843, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002319/0.9845, allocations: 56.88 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.9846, allocations: 51.41 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.9847, allocations: 101.1 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.9847, allocations: 25.7 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.9848, allocations: 91.69 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.9848, allocations: 7.844 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.9848, allocations: 0 / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.985, allocations: 322.4 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.9851, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.9851, allocations: 11.75 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.9851, allocations: 11.48 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9851, allocations: 0 / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.455e-05/0.9852, allocations: 48.61 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.9853, allocations: 8 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9853, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9853, allocations: 3.938 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.9855, allocations: 27.97 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.9855, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.9856, allocations: 15.98 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.9856, allocations: 0 / 1.017 GB, free: 3.059 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 (3): * Single equations (assignments): 3 * 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.081e-05/0.9857, allocations: 107.5 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.9857, allocations: 8 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.9858, allocations: 7.906 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.9858, allocations: 192 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9858, allocations: 3.984 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.9858, allocations: 3.984 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.986, allocations: 153.4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.986, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.9861, allocations: 19.98 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9861, allocations: 4 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.9861, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.9861, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9861, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.9863, allocations: 150.3 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.9864, allocations: 85.06 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.9864, allocations: 3.984 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.9865, allocations: 19.98 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.9866, allocations: 7.438 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.9866, allocations: 0 / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.044e-05/0.9866, allocations: 90.7 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9866, allocations: 0 / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002123/0.9869, allocations: 4 kB / 1.018 GB, free: 2.344 MB / 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 (3): * Single equations (assignments): 3 * 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.0001596/0.987, allocations: 99.25 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.262e-05/0.9871, allocations: 23.12 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9871, allocations: 0 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.9872, allocations: 19.81 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.9874, allocations: 6.562 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.9877, allocations: 79.98 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.9881, allocations: 0.6846 MB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.9881, allocations: 4 kB / 1.018 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.9882, allocations: 11.44 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.9882, allocations: 0 / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of Templates: time 0.002664/0.9909, allocations: 0.5182 MB / 1.019 GB, free: 0.8789 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches