Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.244/2.244, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0009801/0.0009802, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0008803/0.0008803, allocations: 90.62 kB / 0.9317 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.195e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.393, allocations: 150 MB / 1.365 GB, free: 3.996 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.393, allocations: 75.62 kB / 1.365 GB, free: 3.953 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003749/1.397, allocations: 1.089 MB / 1.366 GB, free: 2.957 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.984e-06/1.397, allocations: 0 / 1.366 GB, free: 2.957 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.397, allocations: 0 / 1.366 GB, free: 2.957 MB / 0.823 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.0004788/1.397, allocations: 366.5 kB / 1.367 GB, free: 2.559 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.397, allocations: 12.03 kB / 1.367 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/1.397, allocations: 3.906 kB / 1.367 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/1.398, allocations: 182.5 kB / 1.367 GB, free: 2.328 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/1.398, allocations: 4 kB / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/1.398, allocations: 0 / 1.367 GB, free: 2.324 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.398, allocations: 52.69 kB / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.398, allocations: 0 / 1.367 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.398, allocations: 4 kB / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.398, allocations: 0 / 1.367 GB, free: 2.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/1.398, allocations: 35.05 kB / 1.367 GB, free: 2.246 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/1.399, allocations: 324.7 kB / 1.367 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/1.399, allocations: 44.19 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/1.399, allocations: 23.55 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/1.399, allocations: 105.2 kB / 1.367 GB, free: 1.715 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.399, allocations: 38.5 kB / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 2.434e-06/1.399, allocations: 0 / 1.368 GB, free: 1.668 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002128/1.399, allocations: 72.7 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/1.399, allocations: 55.36 kB / 1.368 GB, free: 1.535 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.399, allocations: 120.1 kB / 1.368 GB, free: 1.422 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.399, allocations: 29.27 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/1.399, allocations: 87.52 kB / 1.368 GB, free: 1.305 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/1.399, allocations: 15.67 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/1.399, allocations: 4 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.4, allocations: 322 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.455e-05/1.4, allocations: 13.66 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/1.4, allocations: 19.33 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/1.4, allocations: 18.8 kB / 1.368 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.4, allocations: 7.875 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/1.4, allocations: 64.44 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.4, allocations: 8 kB / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.4, allocations: 0 / 1.368 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/1.4, allocations: 4.875 kB / 1.368 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/1.4, allocations: 23.97 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.4, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.974e-05/1.4, allocations: 19.94 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/1.4, allocations: 0 / 1.368 GB, free: 0.8125 MB / 0.823 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.795e-05/1.4, allocations: 109 kB / 1.368 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/1.4, allocations: 3.906 kB / 1.368 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001865/1.401, allocations: 88.12 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.401, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.401, allocations: 2.688 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/1.401, allocations: 0 / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/1.401, allocations: 184.2 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.401, allocations: 0 / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.401, allocations: 27.97 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.401, allocations: 4 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.401, allocations: 0 / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.401, allocations: 0 / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.401, allocations: 0 / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/1.401, allocations: 173.1 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/1.401, allocations: 88.95 kB / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/1.401, allocations: 0 / 1.369 GB, free: 92 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/1.401, allocations: 19.98 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/1.401, allocations: 3.984 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/1.401, allocations: 4 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.379e-05/1.402, allocations: 98.83 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.402, allocations: 0 / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002061/1.402, allocations: 12 kB / 1.369 GB, free: 15.96 MB / 0.8386 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.0001763/1.402, allocations: 99.25 kB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.402, allocations: 38.42 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.402, allocations: 0 / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.281e-05/1.402, allocations: 22.94 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/1.402, allocations: 5.344 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/1.403, allocations: 96.09 kB / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/1.403, allocations: 0.693 MB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.547e-05/1.403, allocations: 7.938 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/1.403, allocations: 11.44 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of SimCode: time 3.306e-06/1.403, allocations: 0 / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of Templates: time 0.002958/1.406, allocations: 0.6609 MB / 1.371 GB, free: 14.32 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches