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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001269, allocations: 195.4 kB / 16.63 MB, free: 6.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.9509 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2723, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002278/0.2747, allocations: 1.478 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000296/0.275, allocations: 116.5 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.275, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/0.2751, allocations: 7.922 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.738e-05/0.2751, allocations: 7.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.2754, allocations: 27.91 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.2754, allocations: 39.75 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.065e-05/0.2755, allocations: 7.984 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.2756, allocations: 27.91 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.2756, allocations: 15.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2756, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.2757, allocations: 19.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.2758, allocations: 11.98 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.2758, allocations: 31.8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2759, allocations: 59.8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2759, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2759, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2759, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 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.0004748/0.2764, allocations: 377.3 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2765, allocations: 8.031 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.2765, allocations: 16.78 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2766, allocations: 179.5 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.2766, allocations: 384 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.2766, allocations: 384 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.2769, allocations: 82.2 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2769, allocations: 192 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2769, allocations: 3.938 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.2769, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.2772, allocations: 79.86 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.2775, allocations: 284.9 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.2777, allocations: 70.45 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2779, allocations: 44.92 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.2781, allocations: 113.1 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.2781, allocations: 30.56 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2781, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005243/0.2787, allocations: 149.4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2787, allocations: 55.39 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.2788, allocations: 129.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2788, allocations: 25.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.2789, allocations: 92.12 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.2789, allocations: 11.81 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.2789, allocations: 17.72 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.279, allocations: 322.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2792, allocations: 31.97 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2793, allocations: 35.95 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.2796, allocations: 84.72 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2796, allocations: 3.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.2799, allocations: 109.6 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2799, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.28, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.28, allocations: 8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2801, allocations: 11.98 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2801, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.2802, allocations: 11.98 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2802, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.2803, allocations: 121.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.2803, allocations: 11.84 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.2807, allocations: 125.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2807, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2807, allocations: 3.984 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2807, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2808, allocations: 185.6 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2809, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.2809, allocations: 23.91 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.281, allocations: 4 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.281, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.281, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.281, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.2813, allocations: 215.6 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.2814, allocations: 85.02 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2814, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2815, allocations: 11.98 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2815, allocations: 8.016 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.2816, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.2816, allocations: 99.27 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2816, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002143/0.2818, allocations: 11.94 kB / 1.093 GB, free: 11.98 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.282, allocations: 107.8 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.2823, allocations: 83.91 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2823, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.2825, allocations: 43.89 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2827, allocations: 11.94 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.283, allocations: 145.6 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2832, allocations: 0.6885 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.2833, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.2833, allocations: 11.44 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2833, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.002625/0.2859, allocations: 0.7861 MB / 1.095 GB, free: 10.06 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches