Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001148/0.001148, allocations: 169.1 kB / 498.1 MB, free: 5.734 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.512/1.512, allocations: 223.2 MB / 0.7949 GB, free: 17.92 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.0009113/0.0009112, allocations: 98.77 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 16.94 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3088, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.5025, allocations: 148.8 MB / 1.368 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5028, allocations: 71.95 kB / 1.368 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002278/0.5051, allocations: 0.8064 MB / 1.369 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5051, allocations: 4 kB / 1.369 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.5051, allocations: 4 kB / 1.369 GB, free: 12.41 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.0005014/0.5057, allocations: 363.2 kB / 1.369 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5057, allocations: 12.03 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.5058, allocations: 3.906 kB / 1.369 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.5059, allocations: 175 kB / 1.37 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5059, allocations: 3.938 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.506, allocations: 4 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.5062, allocations: 73.66 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.5063, allocations: 0 / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5063, allocations: 4 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5063, allocations: 7.938 kB / 1.37 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.5066, allocations: 87.92 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005705/0.5072, allocations: 308.9 kB / 1.37 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.5074, allocations: 69.27 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5074, allocations: 0 / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.5075, allocations: 38.5 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.5075, allocations: 0 / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006099/0.5081, allocations: 165.6 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5081, allocations: 51.41 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5082, allocations: 108.9 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5083, allocations: 33.7 kB / 1.371 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.5083, allocations: 80.14 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.5084, allocations: 15.84 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.5084, allocations: 0 / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5085, allocations: 314.8 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.5087, allocations: 43.97 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.5088, allocations: 39.97 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.509, allocations: 47.89 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.509, allocations: 0 / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000342/0.5093, allocations: 121.5 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5094, allocations: 11.94 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5094, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5094, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.5096, allocations: 23.97 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5096, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.5097, allocations: 19.98 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.5097, allocations: 3.953 kB / 1.371 GB, free: 10.02 MB / 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 7.943e-05/0.5098, allocations: 109.8 kB / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.5098, allocations: 336 / 1.371 GB, free: 9.898 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.5102, allocations: 137.4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5102, allocations: 4 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5102, allocations: 0 / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5103, allocations: 0 / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.5104, allocations: 177.5 kB / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5104, allocations: 0 / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.5106, allocations: 19.98 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5106, allocations: 0 / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.5106, allocations: 3.938 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5106, allocations: 0 / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5106, allocations: 4 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003766/0.511, allocations: 223.4 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.511, allocations: 81.11 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.511, allocations: 0 / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5112, allocations: 15.98 kB / 1.372 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.5112, allocations: 3.984 kB / 1.372 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5112, allocations: 12 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.18e-05/0.5113, allocations: 83.27 kB / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5113, allocations: 0 / 1.372 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002036/0.5115, allocations: 11.91 kB / 1.372 GB, free: 9.039 MB / 0.8698 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.0001701/0.5117, allocations: 103 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003546/0.512, allocations: 91.92 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.512, allocations: 0 / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.5122, allocations: 51.91 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5124, allocations: 7.938 kB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.5128, allocations: 140.8 kB / 1.372 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.5131, allocations: 0.6809 MB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.5131, allocations: 3.984 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.5132, allocations: 11.44 kB / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of SimCode: time 1.91e-07/0.5132, allocations: 0 / 1.373 GB, free: 7.891 MB / 0.8698 GB Notification: Performance of Templates: time 0.002444/0.5156, allocations: 0.523 MB / 1.374 GB, free: 7.375 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches