Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_10_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.001043/0.001043, allocations: 108.3 kB / 16.37 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.424/2.424, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.12 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003493/0.2834, allocations: 1.487 MB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.2838, allocations: 116.5 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.2838, allocations: 0 / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.562e-05/0.2839, allocations: 7.875 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.284, allocations: 15.86 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2843, allocations: 15.98 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.2844, allocations: 43.84 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2845, allocations: 11.98 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.2845, allocations: 15.94 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.2846, allocations: 31.89 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.2846, allocations: 4 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.2847, allocations: 19.98 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.2848, allocations: 15.92 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2848, allocations: 19.88 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.2849, allocations: 63.78 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.285, allocations: 4 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.285, allocations: 0 / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.285, allocations: 0 / 1.021 GB, free: 7.949 MB / 0.795 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.0005019/0.2855, allocations: 379.1 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2855, allocations: 8.625 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.2856, allocations: 8.844 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2857, allocations: 172.3 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2857, allocations: 4.375 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2857, allocations: 384 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.286, allocations: 78.16 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.286, allocations: 4.188 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.286, allocations: 7.922 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.286, allocations: 0 / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.2863, allocations: 71.92 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.2866, allocations: 277 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.2868, allocations: 82.34 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.287, allocations: 40.91 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.2872, allocations: 109.1 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2873, allocations: 38.56 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2873, allocations: 0 / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005055/0.2878, allocations: 141.5 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2878, allocations: 51.41 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.2879, allocations: 133.8 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.288, allocations: 29.7 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.288, allocations: 96.06 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.288, allocations: 11.81 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2881, allocations: 13.72 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.2882, allocations: 318.8 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.2883, allocations: 39.95 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2884, allocations: 35.95 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.2887, allocations: 76.78 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2887, allocations: 3.938 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003098/0.289, allocations: 113.9 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.289, allocations: 7.938 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.289, allocations: 3.984 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2891, allocations: 7.938 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2892, allocations: 11.98 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2892, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.2893, allocations: 11.98 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.2893, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 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 7.328e-05/0.2894, allocations: 121.8 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.2894, allocations: 7.906 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.2897, allocations: 113.5 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2897, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2897, allocations: 4 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2897, allocations: 0 / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2899, allocations: 185.6 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2899, allocations: 0 / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.29, allocations: 23.91 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.29, allocations: 0 / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.29, allocations: 4 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.29, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2901, allocations: 0 / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.2904, allocations: 215.3 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.2904, allocations: 81.02 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2904, allocations: 0 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2906, allocations: 11.98 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2906, allocations: 3.938 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2906, allocations: 11.98 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.2907, allocations: 100.5 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2907, allocations: 0 / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000231/0.2909, allocations: 8 kB / 1.024 GB, free: 4.383 MB / 0.795 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.0001405/0.2911, allocations: 111.2 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.2914, allocations: 87.91 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2914, allocations: 0 / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.2915, allocations: 35.97 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2918, allocations: 7.938 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.2921, allocations: 149.5 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2924, allocations: 0.6962 MB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.778e-05/0.2924, allocations: 3.984 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.2924, allocations: 11.44 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2924, allocations: 0 / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of Templates: time 0.002968/0.2954, allocations: 0.8008 MB / 1.026 GB, free: 2.434 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_QuadraticLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches