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.427/1.427, allocations: 249.3 MB / 261.8 MB, free: 5.945 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.0009689/0.0009689, allocations: 178.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.484/1.484, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008708/0.0008705, allocations: 86.69 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.825e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2035, allocations: 106.3 MB / 0.8918 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7681/0.9717, allocations: 131.3 MB / 1.02 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.972, allocations: 75.31 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004121/0.9761, allocations: 1.432 MB / 1.022 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.005e-06/0.9761, allocations: 0 / 1.022 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.9761, allocations: 0 / 1.022 GB, free: 2.121 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.0005244/0.9767, allocations: 361.5 kB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.9767, allocations: 8.031 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.9768, allocations: 7.906 kB / 1.022 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.977, allocations: 175 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.977, allocations: 4.312 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.977, allocations: 0 / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.9772, allocations: 56.5 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.9772, allocations: 0 / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.9772, allocations: 0 / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.9772, allocations: 3.938 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.567e-05/0.9773, allocations: 19.31 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.9779, allocations: 310.2 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.978, allocations: 39.98 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.9781, allocations: 12.73 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.9781, allocations: 0 / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.9781, allocations: 38.12 kB / 1.023 GB, free: 1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.9781, allocations: 7.984 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002082/0.9784, allocations: 51.38 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.9784, allocations: 51.41 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.9785, allocations: 100.5 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.9785, allocations: 25.7 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.9786, allocations: 86.88 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.9786, allocations: 19.47 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.9786, allocations: 0 / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9788, allocations: 314.8 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.684e-05/0.9788, allocations: 11.88 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.9789, allocations: 10.94 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.9789, allocations: 11.73 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.9789, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.967e-05/0.979, allocations: 52.8 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.979, allocations: 4 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.979, allocations: 3.984 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9791, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.9792, allocations: 23.98 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.9792, allocations: 0 / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.762e-05/0.9793, allocations: 15.98 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.9793, allocations: 0 / 1.023 GB, free: 212 kB / 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 0.000138/0.9795, allocations: 116.8 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.9795, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.9796, allocations: 12.02 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.9796, allocations: 4 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9796, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.9796, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.9798, allocations: 168.4 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9798, allocations: 0 / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.9799, allocations: 31.84 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.98, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.98, allocations: 4 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.98, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.98, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.9802, allocations: 150.1 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.9802, allocations: 81.11 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.9802, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.9804, allocations: 31.61 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.9804, allocations: 3.984 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.9804, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.9805, allocations: 87.41 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9805, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001978/0.9807, allocations: 8 kB / 1.024 GB, free: 15.46 MB / 0.6511 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.0001423/0.9808, allocations: 95.25 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.539e-05/0.9809, allocations: 27.11 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.981, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.981, allocations: 15.19 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.9812, allocations: 13.95 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.9814, allocations: 76.64 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.9817, allocations: 0.6848 MB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.9818, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.9818, allocations: 11.44 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.9818, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.002534/0.9844, allocations: 0.5815 MB / 1.025 GB, free: 13.93 MB / 0.6511 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