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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001732/0.001733, allocations: 194.8 kB / 16.26 MB, free: 6.625 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.49/2.49, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.89 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.6352, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002346/0.6376, allocations: 1.552 MB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002388/0.6378, allocations: 108.5 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.6379, allocations: 4 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.6379, allocations: 3.938 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.638, allocations: 3.938 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.6381, allocations: 15.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.6382, allocations: 47.84 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.781e-05/0.6383, allocations: 12 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.6383, allocations: 19.92 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.6384, allocations: 31.83 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.6384, allocations: 4 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.6385, allocations: 19.98 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.6385, allocations: 8 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.6385, allocations: 23.86 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.537e-05/0.6386, allocations: 55.8 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6386, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6387, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6387, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 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.0004167/0.6391, allocations: 381.4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.6391, allocations: 12.03 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.6392, allocations: 30.75 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.456e-05/0.6392, allocations: 12.84 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.6393, allocations: 184.1 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.6393, allocations: 4.312 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.6393, allocations: 4.375 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.6395, allocations: 78.27 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.6396, allocations: 3.938 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.6396, allocations: 3.984 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6396, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.6399, allocations: 79.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.6401, allocations: 284.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.6403, allocations: 70.47 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.6405, allocations: 44.91 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.6407, allocations: 113.1 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.6407, allocations: 30.56 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6407, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004798/0.6412, allocations: 145.5 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.6413, allocations: 51.41 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.6413, allocations: 129.8 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.6414, allocations: 25.7 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.6414, allocations: 88.14 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.6414, allocations: 11.89 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.6415, allocations: 21.72 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.6415, allocations: 322.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.6417, allocations: 35.95 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.6418, allocations: 35.95 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.6421, allocations: 84.72 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6421, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002783/0.6423, allocations: 109.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6424, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.6424, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.6424, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.6425, allocations: 15.97 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.6425, allocations: 3.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.6426, allocations: 15.92 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.6426, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 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 6.542e-05/0.6427, allocations: 118.3 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.6427, allocations: 11.89 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.643, allocations: 121.5 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.643, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6431, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.6431, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.6432, allocations: 186 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6432, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.6433, allocations: 15.98 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6433, allocations: 11.88 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.6433, allocations: 3.984 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.6433, allocations: 3.938 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6433, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.6437, allocations: 211.3 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.6437, allocations: 85.09 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.6437, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.6438, allocations: 15.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.6439, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.6439, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.6439, allocations: 103.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6439, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002078/0.6442, allocations: 8 kB / 1.022 GB, free: 13.12 MB / 0.7794 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.00055/0.6447, allocations: 0.7552 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.645, allocations: 75.92 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.645, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.6452, allocations: 43.89 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.6454, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.6458, allocations: 195.2 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.646, allocations: 0.6924 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.646, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6461, allocations: 19.42 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6461, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.028/1.674, allocations: 1.667 MB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.675, allocations: 198.5 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/3.526, allocations: 0 / 1.026 GB, free: 9.43 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > 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