Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.087/2.087, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001017/0.001017, allocations: 176.9 kB / 487.4 MB, free: 5.055 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.328/1.328, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008928/0.0008929, allocations: 94.78 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.418e-05/1.421e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7891/1.031, allocations: 148.5 MB / 1.351 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/1.031, allocations: 76.25 kB / 1.351 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003292/1.035, allocations: 1.07 MB / 1.352 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.035, allocations: 4 kB / 1.352 GB, free: 34.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.035, allocations: 1.312 kB / 1.352 GB, free: 34.03 MB / 0.8386 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.0003951/1.035, allocations: 369.1 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/1.035, allocations: 11.61 kB / 1.352 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/1.035, allocations: 6.594 kB / 1.353 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/1.035, allocations: 180.8 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/1.035, allocations: 0 / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/1.035, allocations: 2.594 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.851e-05/1.035, allocations: 31.39 kB / 1.353 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/1.035, allocations: 53.83 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/1.035, allocations: 3.984 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.035, allocations: 0 / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/1.035, allocations: 1.984 kB / 1.353 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/1.036, allocations: 306.3 kB / 1.353 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.141e-05/1.036, allocations: 41.09 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/1.036, allocations: 25.02 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/1.036, allocations: 108.8 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.039e-05/1.036, allocations: 30.56 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.036, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002181/1.036, allocations: 79.88 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/1.036, allocations: 54.28 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/1.037, allocations: 111.9 kB / 1.353 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/1.037, allocations: 29.7 kB / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/1.037, allocations: 92.84 kB / 1.354 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/1.037, allocations: 12.45 kB / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/1.037, allocations: 0 / 1.354 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/1.037, allocations: 323.7 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/1.037, allocations: 15.34 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.331e-05/1.037, allocations: 16.27 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.999e-05/1.037, allocations: 20.61 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.037, allocations: 0.7031 kB / 1.354 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001237/1.037, allocations: 79.81 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.037, allocations: 3.938 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.037, allocations: 0.7969 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/1.037, allocations: 3.875 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/1.037, allocations: 20.5 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/1.037, allocations: 0.6094 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/1.037, allocations: 20.36 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/1.037, allocations: 0 / 1.354 GB, free: 32.34 MB / 0.8386 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 6.166e-05/1.037, allocations: 109.4 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/1.037, allocations: 4.469 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.038, allocations: 89.34 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.038, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/1.038, allocations: 0.6562 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/1.038, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/1.038, allocations: 160.4 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.038, allocations: 4.703 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.038, allocations: 24.73 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.038, allocations: 2.812 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/1.038, allocations: 3.969 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.038, allocations: 0.6562 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.038, allocations: 0 / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/1.038, allocations: 175 kB / 1.355 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/1.038, allocations: 93.56 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/1.038, allocations: 7.781 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.038, allocations: 16.27 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/1.038, allocations: 2.203 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/1.038, allocations: 4.531 kB / 1.355 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.69e-05/1.038, allocations: 101.9 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.038, allocations: 4 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002228/1.039, allocations: 7.688 kB / 1.355 GB, free: 31.68 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.000109/1.039, allocations: 100.2 kB / 1.355 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.531e-05/1.039, allocations: 33.91 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/1.039, allocations: 0 / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/1.039, allocations: 16.81 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/1.039, allocations: 11.8 kB / 1.355 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/1.039, allocations: 94.28 kB / 1.355 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/1.039, allocations: 0.6894 MB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.872e-05/1.039, allocations: 0.7031 kB / 1.356 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.049e-05/1.039, allocations: 11.86 kB / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.039, allocations: 0 / 1.356 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of Templates: time 0.002293/1.042, allocations: 0.5991 MB / 1.356 GB, free: 30.76 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches