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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001358/0.001358, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001483/0.001483, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 80.45 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003357/0.3337, allocations: 1.488 MB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003678/0.3341, allocations: 116.4 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.3342, allocations: 0 / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.3342, allocations: 0 / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.3343, allocations: 11.88 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.3346, allocations: 27.95 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.3347, allocations: 43.8 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3348, allocations: 11.98 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.3348, allocations: 19.92 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.3349, allocations: 15.92 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.3349, allocations: 4 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.956e-05/0.335, allocations: 19.98 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.3351, allocations: 15.98 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.3351, allocations: 23.86 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.3353, allocations: 59.8 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3353, allocations: 0 / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3353, allocations: 0 / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3353, allocations: 4 kB / 1.02 GB, free: 8.723 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.0006019/0.3359, allocations: 379.4 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3359, allocations: 12.92 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.336, allocations: 12.84 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3361, allocations: 168.9 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3362, allocations: 384 / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.3362, allocations: 384 / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.3365, allocations: 86.12 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3365, allocations: 192 / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.3365, allocations: 3.938 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3365, allocations: 3.938 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.3368, allocations: 79.92 kB / 1.02 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.3372, allocations: 280.9 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.3374, allocations: 70.41 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.3376, allocations: 48.92 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.3379, allocations: 109.1 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.338, allocations: 30.56 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.338, allocations: 0 / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0005697/0.3385, allocations: 153.5 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3386, allocations: 51.41 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3387, allocations: 132.3 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3387, allocations: 25.7 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3388, allocations: 104.1 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.3388, allocations: 7.812 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3389, allocations: 17.66 kB / 1.021 GB, free: 6.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.339, allocations: 318.8 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3392, allocations: 35.97 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3393, allocations: 35.95 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.3396, allocations: 84.78 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3397, allocations: 3.938 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003341/0.34, allocations: 109.6 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.34, allocations: 8 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.34, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3401, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3402, allocations: 19.92 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3402, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.3403, allocations: 15.97 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3403, allocations: 0 / 1.022 GB, free: 6.121 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 9.944e-05/0.3404, allocations: 120.2 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.3404, allocations: 11.91 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.3408, allocations: 117.5 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3408, allocations: 384 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3409, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3409, allocations: 0 / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.3411, allocations: 185.6 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3411, allocations: 3.984 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.3412, allocations: 27.86 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3412, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.3412, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3412, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3412, allocations: 0 / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3416, allocations: 211.3 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3417, allocations: 85.02 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3417, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3418, allocations: 11.98 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3419, allocations: 7.984 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.3419, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.342, allocations: 95.27 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.342, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002285/0.3422, allocations: 12 kB / 1.023 GB, free: 5.145 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.0001666/0.3424, allocations: 111.2 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.3427, allocations: 75.92 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3427, allocations: 0 / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.3429, allocations: 43.95 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3432, allocations: 14.38 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.3436, allocations: 175.2 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3439, allocations: 0.6962 MB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.3439, allocations: 11.44 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.344, allocations: 0 / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of Templates: time 0.002712/0.3467, allocations: 0.8958 MB / 1.025 GB, free: 3.062 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 -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