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.463/2.463, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001155/0.001155, allocations: 177.1 kB / 498.1 MB, free: 5.738 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.586/1.586, allocations: 223.2 MB / 0.7949 GB, free: 18.85 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.001133/0.001133, allocations: 104 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004004, allocations: 10.44 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3125, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.5079, allocations: 149.3 MB / 1.369 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5082, allocations: 75.95 kB / 1.369 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00332/0.5115, allocations: 1.086 MB / 1.37 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5115, allocations: 0 / 1.37 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.5116, allocations: 0 / 1.37 GB, free: 2.953 MB / 0.8698 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.0004926/0.5121, allocations: 387.1 kB / 1.37 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5121, allocations: 8.031 kB / 1.37 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.5122, allocations: 7.906 kB / 1.37 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.5123, allocations: 175 kB / 1.37 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.5123, allocations: 0 / 1.37 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.5123, allocations: 0 / 1.37 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.5126, allocations: 93.58 kB / 1.37 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5127, allocations: 3.938 kB / 1.37 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5127, allocations: 0 / 1.37 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5127, allocations: 0 / 1.37 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.513, allocations: 103.9 kB / 1.371 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.5136, allocations: 334.8 kB / 1.371 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.5139, allocations: 78.47 kB / 1.371 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.5141, allocations: 109.2 kB / 1.371 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.5141, allocations: 34.56 kB / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5141, allocations: 0 / 1.371 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006077/0.5147, allocations: 181.6 kB / 1.371 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.5148, allocations: 51.41 kB / 1.371 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.5149, allocations: 120.9 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.5149, allocations: 29.64 kB / 1.371 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.515, allocations: 96.05 kB / 1.372 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.515, allocations: 3.906 kB / 1.372 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.515, allocations: 8 kB / 1.372 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5152, allocations: 318.8 kB / 1.372 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5153, allocations: 47.95 kB / 1.372 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.5155, allocations: 51.95 kB / 1.372 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.5156, allocations: 43.97 kB / 1.372 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5156, allocations: 4 kB / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003451/0.516, allocations: 141.5 kB / 1.372 GB, free: 352 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.516, allocations: 4 kB / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.516, allocations: 0 / 1.372 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.516, allocations: 4 kB / 1.372 GB, free: 344 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5162, allocations: 19.98 kB / 1.372 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5162, allocations: 0 / 1.372 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.5163, allocations: 23.98 kB / 1.372 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.5163, allocations: 7.891 kB / 1.372 GB, free: 292 kB / 0.8698 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 () * Number of clocked 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 9.47e-05/0.5164, allocations: 117.8 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5165, allocations: 7.938 kB / 1.372 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.5169, allocations: 145.9 kB / 1.372 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5169, allocations: 0 / 1.372 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5169, allocations: 48 / 1.372 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5169, allocations: 7.984 kB / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.5171, allocations: 185.4 kB / 1.373 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5172, allocations: 7.938 kB / 1.373 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.5173, allocations: 19.98 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5173, allocations: 0 / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5173, allocations: 4 kB / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5173, allocations: 0 / 1.373 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5173, allocations: 3.938 kB / 1.373 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.5177, allocations: 239.4 kB / 1.373 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.5178, allocations: 84.95 kB / 1.373 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.5178, allocations: 0 / 1.373 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5179, allocations: 15.98 kB / 1.373 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.518, allocations: 11.98 kB / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.518, allocations: 0 / 1.373 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.489e-05/0.518, allocations: 99.14 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.518, allocations: 4 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002236/0.5183, allocations: 16 kB / 1.373 GB, free: 15.23 MB / 0.8855 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 () * Number of clocked 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.000172/0.5185, allocations: 103 kB / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.5189, allocations: 107.8 kB / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5189, allocations: 0 / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.519, allocations: 47.97 kB / 1.373 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.5192, allocations: 15.94 kB / 1.373 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.5196, allocations: 156.7 kB / 1.373 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5199, allocations: 0.6887 MB / 1.374 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.52, allocations: 4 kB / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.52, allocations: 7.438 kB / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of SimCode: time 1.863e-06/0.52, allocations: 0 / 1.374 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of Templates: time 0.002867/0.5229, allocations: 0.6438 MB / 1.375 GB, free: 13.41 MB / 0.8855 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