Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.93 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.001017/0.001017, allocations: 187.5 kB / 316.3 MB, free: 3.215 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.814/1.814, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008146/0.0008146, allocations: 89.98 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.976e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2453, allocations: 106.3 MB / 0.8852 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9134/1.159, allocations: 131.9 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.159, allocations: 69.95 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003232/1.162, allocations: 1.079 MB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/1.162, allocations: 4 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.162, allocations: 0 / 1.015 GB, free: 4.809 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.0004557/1.163, allocations: 366.1 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.163, allocations: 8.031 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/1.163, allocations: 11.91 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.163, allocations: 182.7 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/1.163, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/1.163, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001175/1.163, allocations: 31.17 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/1.163, allocations: 52.81 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.163, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.163, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/1.163, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/1.164, allocations: 303.3 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/1.164, allocations: 45.5 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/1.164, allocations: 16.3 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/1.164, allocations: 112.8 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.164, allocations: 37.23 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.164, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002802/1.165, allocations: 72.27 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.165, allocations: 55.41 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/1.165, allocations: 113.8 kB / 1.016 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/1.165, allocations: 25.7 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/1.165, allocations: 95.56 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/1.165, allocations: 7.906 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/1.165, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.165, allocations: 322.2 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/1.165, allocations: 11.56 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/1.165, allocations: 15.55 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/1.165, allocations: 23.11 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.165, allocations: 0 / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001421/1.165, allocations: 79.7 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.165, allocations: 8 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.165, allocations: 4 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.165, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/1.166, allocations: 23.97 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.166, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/1.166, allocations: 19.98 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/1.166, allocations: 0 / 1.017 GB, free: 2.703 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.263e-05/1.166, allocations: 108.9 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/1.166, allocations: 7.906 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/1.166, allocations: 88.48 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/1.166, allocations: 7.969 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.166, allocations: 4 kB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.166, allocations: 3.938 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/1.166, allocations: 161.1 kB / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.166, allocations: 4 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.166, allocations: 19.98 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/1.166, allocations: 0 / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/1.166, allocations: 3.984 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.166, allocations: 0 / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.166, allocations: 0 / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/1.167, allocations: 173.4 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/1.167, allocations: 87.69 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.167, allocations: 4 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.167, allocations: 19.97 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/1.167, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.167, allocations: 4 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.999e-05/1.167, allocations: 94.52 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.167, allocations: 4 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002059/1.167, allocations: 16 kB / 1.018 GB, free: 1.867 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.0001736/1.167, allocations: 99.94 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001077/1.167, allocations: 38.92 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.167, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/1.168, allocations: 15.62 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/1.168, allocations: 6.562 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/1.168, allocations: 102.3 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.168, allocations: 0.6916 MB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.344e-05/1.168, allocations: 3.859 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/1.168, allocations: 11.44 kB / 1.019 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.168, allocations: 3.938 kB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of Templates: time 0.002802/1.171, allocations: 0.6032 MB / 1.019 GB, free: 284 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches