Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 393.5 MB / 408.4 MB, free: 11 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.001194/0.001194, allocations: 194.8 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009112/0.0009112, allocations: 98.94 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 16.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3054, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.5, allocations: 149.6 MB / 1.375 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5003, allocations: 71.95 kB / 1.375 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003719/0.504, allocations: 1.407 MB / 1.377 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.474e-06/0.5041, allocations: 0 / 1.377 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5041, allocations: 3.938 kB / 1.377 GB, free: 2.422 MB / 0.8698 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.0004874/0.5046, allocations: 375.2 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5046, allocations: 12.03 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.5047, allocations: 4 kB / 1.377 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5048, allocations: 166.9 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5048, allocations: 4 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.5049, allocations: 0 / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.5051, allocations: 93.58 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.5052, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5052, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5052, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.5055, allocations: 87.92 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.506, allocations: 300.9 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.5062, allocations: 66.48 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.5063, allocations: 12.02 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.5063, allocations: 34.56 kB / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5063, allocations: 0 / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005587/0.5069, allocations: 153.6 kB / 1.378 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.5069, allocations: 53.03 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.507, allocations: 116.8 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.507, allocations: 29.7 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.5071, allocations: 88.08 kB / 1.378 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.5071, allocations: 7.891 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5071, allocations: 4 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5072, allocations: 318.8 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.5074, allocations: 43.97 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.5076, allocations: 39.95 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.5077, allocations: 43.97 kB / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5077, allocations: 0 / 1.379 GB, free: 212 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.508, allocations: 125.5 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5081, allocations: 4 kB / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5081, allocations: 0 / 1.379 GB, free: 76 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5081, allocations: 4 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5083, allocations: 20.31 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5083, allocations: 0 / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.5084, allocations: 15.98 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5084, allocations: 11.95 kB / 1.379 GB, free: 24 kB / 0.8698 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 () * Number of clocked 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.887e-05/0.5085, allocations: 114.6 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.5085, allocations: 4 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.5085, allocations: 15.89 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5086, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5086, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5086, allocations: 3.938 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.5087, allocations: 173.6 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5088, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.5089, allocations: 23.97 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5089, allocations: 0 / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.5089, allocations: 8 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5089, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5089, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.5093, allocations: 219.3 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.5094, allocations: 85.09 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5094, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5095, allocations: 19.98 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.5096, allocations: 11.92 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.5096, allocations: 4 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.5096, allocations: 87.28 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5096, allocations: 0 / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001974/0.5098, allocations: 4 kB / 1.38 GB, free: 15.17 MB / 0.8855 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 () * Number of clocked 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.0001467/0.51, allocations: 99.25 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.5103, allocations: 91.91 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5103, allocations: 4 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.5105, allocations: 47.97 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.5107, allocations: 7.953 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002879/0.511, allocations: 136.8 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.5112, allocations: 0.6809 MB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.5113, allocations: 4 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.5113, allocations: 7.438 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.5113, allocations: 0 / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of Templates: time 0.002392/0.5137, allocations: 0.5607 MB / 1.381 GB, free: 13.48 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches