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.558/1.558, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.001179/0.001179, allocations: 176.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.683/1.683, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001057/0.001057, allocations: 94.39 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.544e-05, allocations: 8 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1975, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7005/0.8981, allocations: 131.6 MB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.8984, allocations: 75.58 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003151/0.9015, allocations: 1.082 MB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9016, allocations: 4 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9016, allocations: 0 / 1.021 GB, free: 2.051 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.0004112/0.902, allocations: 365.5 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.902, allocations: 8.031 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.9021, allocations: 11.91 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.9022, allocations: 178.9 kB / 1.022 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.9022, allocations: 7.984 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.9023, allocations: 7.5 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.9024, allocations: 49.44 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9024, allocations: 0 / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.9024, allocations: 0 / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.9025, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.9026, allocations: 30.86 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.9031, allocations: 325.4 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.737e-05/0.9032, allocations: 48.81 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.9033, allocations: 24.05 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.9035, allocations: 108.6 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.9035, allocations: 33.3 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.9035, allocations: 0 / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.9037, allocations: 68.02 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.9037, allocations: 55.41 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.9038, allocations: 117.8 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.9039, allocations: 29.7 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.9039, allocations: 90.89 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.9039, allocations: 3.906 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.9039, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.904, allocations: 326.3 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.483e-05/0.9041, allocations: 14.62 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.9041, allocations: 15.36 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.9042, allocations: 19.36 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9042, allocations: 0 / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001219/0.9043, allocations: 72.59 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.9043, allocations: 8 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9043, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.9043, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.9045, allocations: 23.97 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.9045, allocations: 0 / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.9046, allocations: 23.92 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.9046, allocations: 2.438 kB / 1.023 GB, free: 15.91 MB / 0.6511 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.086e-05/0.9047, allocations: 111.5 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.9047, allocations: 3.906 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.9049, allocations: 91.23 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9049, allocations: 3.938 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.9049, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.9049, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.9051, allocations: 183.5 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9051, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.9052, allocations: 23.97 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9052, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9053, allocations: 4 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.9053, allocations: 4 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9053, allocations: 3.938 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.9054, allocations: 170 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.9055, allocations: 81.05 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.9055, allocations: 7.625 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.9056, allocations: 15.98 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.9056, allocations: 3.984 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.9057, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.9057, allocations: 104.3 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9057, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002057/0.9059, allocations: 12 kB / 1.024 GB, free: 15.05 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.0001385/0.9061, allocations: 99.25 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.9062, allocations: 42.05 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9062, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.9063, allocations: 15.81 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.9064, allocations: 9.109 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.9067, allocations: 101.2 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.9069, allocations: 0.6965 MB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.907, allocations: 7.797 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.907, allocations: 11.44 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.907, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.002947/0.91, allocations: 0.655 MB / 1.026 GB, free: 13.41 MB / 0.6511 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