Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.35/2.35, 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.001482/0.001482, allocations: 175.4 kB / 498.1 MB, free: 5.688 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.493/1.493, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.0009325/0.0009326, allocations: 105.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004, allocations: 12.7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.4922, allocations: 148.8 MB / 1.368 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4925, allocations: 71.95 kB / 1.368 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002296/0.4948, allocations: 0.8025 MB / 1.369 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4948, allocations: 7.938 kB / 1.369 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4948, allocations: 0 / 1.369 GB, free: 12.34 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.0004723/0.4953, allocations: 367.7 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4954, allocations: 8.031 kB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.4954, allocations: 11.91 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.4955, allocations: 167 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4956, allocations: 0 / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.4956, allocations: 4 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.4958, allocations: 81.58 kB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.4959, allocations: 4 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4959, allocations: 4 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4959, allocations: 0 / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.4962, allocations: 87.92 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.4967, allocations: 296.9 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.4969, allocations: 73.2 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.497, allocations: 4 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.497, allocations: 34.56 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.497, allocations: 0 / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006448/0.4976, allocations: 161.6 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.4977, allocations: 55.39 kB / 1.37 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.4978, allocations: 108.9 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.4978, allocations: 29.7 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.4979, allocations: 84.12 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.4979, allocations: 11.84 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.4979, allocations: 4 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.498, allocations: 310.8 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.4982, allocations: 47.95 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.4984, allocations: 35.97 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4985, allocations: 47.95 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4985, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003341/0.4989, allocations: 121.5 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4989, allocations: 4 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4989, allocations: 3.938 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4989, allocations: 4 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4991, allocations: 23.98 kB / 1.371 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4991, allocations: 4 kB / 1.371 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.555e-05/0.4992, allocations: 19.91 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.4992, allocations: 7.953 kB / 1.371 GB, free: 9.945 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.652e-05/0.4993, allocations: 105.8 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.4993, allocations: 4 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.4997, allocations: 129.8 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4997, allocations: 4 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4998, allocations: 3.938 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4998, allocations: 48 / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.5, allocations: 181.5 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5, allocations: 0 / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.5001, allocations: 23.97 kB / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5001, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5001, allocations: 0 / 1.372 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5001, allocations: 8 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5001, allocations: 3.938 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.5005, allocations: 219.4 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.5006, allocations: 77.11 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.5006, allocations: 4 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5007, allocations: 15.98 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.5008, allocations: 11.98 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.5008, allocations: 0 / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.5008, allocations: 83.28 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5008, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002049/0.501, allocations: 11.91 kB / 1.372 GB, free: 8.969 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.000196/0.5012, allocations: 103 kB / 1.372 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.5016, allocations: 99.84 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5016, allocations: 0 / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.5018, allocations: 43.97 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.502, allocations: 7.953 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.5023, allocations: 144.3 kB / 1.372 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.5026, allocations: 0.6848 MB / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.5026, allocations: 0 / 1.373 GB, free: 7.832 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.5027, allocations: 7.438 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5027, allocations: 0 / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of Templates: time 0.002445/0.5051, allocations: 0.5322 MB / 1.374 GB, free: 7.301 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches