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.431/1.431, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.0009285/0.0009285, allocations: 188.8 kB / 321.3 MB, free: 14.66 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.452/1.452, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008765/0.0008767, allocations: 94.45 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.281e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2141, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7213/0.9354, allocations: 131.3 MB / 1.02 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.9357, allocations: 71.52 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002412/0.9382, allocations: 0.8456 MB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.945e-06/0.9382, allocations: 0 / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.9382, allocations: 0 / 1.021 GB, free: 2.582 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.0004749/0.9387, allocations: 350 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.9387, allocations: 16.03 kB / 1.021 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.9388, allocations: 3.906 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.939, allocations: 167 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.939, allocations: 3.938 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.9391, allocations: 4 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.9392, allocations: 49.5 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9393, allocations: 0 / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.9393, allocations: 0 / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9393, allocations: 0 / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.523e-05/0.9394, allocations: 17.62 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.94, allocations: 310.9 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.9401, allocations: 37.52 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.9401, allocations: 20.55 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.9402, allocations: 0 / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.9402, allocations: 30.56 kB / 1.022 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.406e-06/0.9402, allocations: 3.938 kB / 1.022 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002052/0.9404, allocations: 59.05 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.9405, allocations: 55.28 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.9406, allocations: 96.12 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.9406, allocations: 29.7 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.9407, allocations: 91.81 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.9407, allocations: 3.906 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.9407, allocations: 0 / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.9409, allocations: 318.3 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.9409, allocations: 15.25 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.9409, allocations: 7.062 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.941, allocations: 11.8 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.941, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.292e-05/0.9411, allocations: 60.23 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.9411, allocations: 7.984 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.9411, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.9411, allocations: 0 / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.9413, allocations: 19.98 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.9413, allocations: 0 / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.9414, allocations: 19.98 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.9414, allocations: 4 kB / 1.023 GB, free: 0.6836 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 8.18e-05/0.9415, allocations: 104.9 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.9415, allocations: 0 / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.9417, allocations: 67.7 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.9417, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9417, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9417, allocations: 3.938 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.9419, allocations: 178.4 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9419, allocations: 4 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.942, allocations: 23.98 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.942, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.9421, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9421, allocations: 4 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9421, allocations: 0 / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.9422, allocations: 163.2 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.9423, allocations: 77.11 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.9423, allocations: 0 / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9424, allocations: 19.97 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.9425, allocations: 7.812 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.9425, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.9426, allocations: 90.95 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9426, allocations: 4 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001895/0.9428, allocations: 11.88 kB / 1.023 GB, free: 15.88 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.0001599/0.9429, allocations: 99.25 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.788e-05/0.943, allocations: 18.5 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9431, allocations: 3.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.9431, allocations: 17.75 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.9433, allocations: 6.359 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.9436, allocations: 87.67 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.9438, allocations: 0.6809 MB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.9439, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.9439, allocations: 11.38 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of SimCode: time 4.1e-07/0.9439, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.00235/0.9463, allocations: 0.5331 MB / 1.025 GB, free: 14.39 MB / 0.6511 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