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.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.953 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.00132/0.00132, allocations: 176.9 kB / 316.3 MB, free: 3.148 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.571/1.571, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008201/0.0008201, allocations: 89.41 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.13e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 106.3 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7244/0.9615, allocations: 131.6 MB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.9617, allocations: 69.27 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002203/0.9639, allocations: 0.841 MB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9639, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.964, allocations: 4 kB / 1.015 GB, free: 5.348 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.0003961/0.9644, allocations: 354.2 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9644, allocations: 12.03 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.9644, allocations: 3.906 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.9646, allocations: 167 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.9646, allocations: 0 / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.9646, allocations: 0.875 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.94e-05/0.9647, allocations: 22.92 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.512e-05/0.9648, allocations: 43.95 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.9648, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.9648, allocations: 3.938 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.9648, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.9653, allocations: 289.8 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.9653, allocations: 32.83 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.9654, allocations: 11.98 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.9654, allocations: 0 / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.9654, allocations: 37.44 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.604e-06/0.9654, allocations: 0 / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001475/0.9656, allocations: 63.42 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.9656, allocations: 52.16 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.9657, allocations: 95.94 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.9657, allocations: 25.7 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.9658, allocations: 87.56 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.9658, allocations: 7.906 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.9658, allocations: 0 / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.9659, allocations: 318 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.966, allocations: 11.56 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.966, allocations: 15.25 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.966, allocations: 11.3 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.966, allocations: 0 / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.64e-05/0.9661, allocations: 45.11 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.9661, allocations: 4 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9661, allocations: 4 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.9661, allocations: 3.938 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.9663, allocations: 27.97 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.9663, allocations: 0 / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.9664, allocations: 19.17 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9664, allocations: 0 / 1.016 GB, free: 3.496 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 7.23e-05/0.9665, allocations: 104.9 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.9665, allocations: 4.188 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.9666, allocations: 65.06 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9667, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9667, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.9667, allocations: 3.938 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.9668, allocations: 148.9 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.9668, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.9669, allocations: 23.92 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.9669, allocations: 3.984 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.967, allocations: 4 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.967, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.967, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.9671, allocations: 148.3 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.9672, allocations: 81.06 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.9672, allocations: 4 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.9673, allocations: 15.98 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.9673, allocations: 7.984 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.9674, allocations: 6.625 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.9674, allocations: 83.28 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9674, allocations: 0 / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000201/0.9676, allocations: 7.938 kB / 1.017 GB, free: 2.734 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.0001505/0.9678, allocations: 105.2 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.732e-05/0.9679, allocations: 25.67 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9679, allocations: 4 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.09e-05/0.9679, allocations: 11.69 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.9681, allocations: 8.078 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.9683, allocations: 74.83 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.9686, allocations: 0.6846 MB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.556e-05/0.9686, allocations: 8 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.9686, allocations: 7.438 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/0.9687, allocations: 0 / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of Templates: time 0.002158/0.9708, allocations: 490.9 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches