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: "" <> 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.0009967/0.0009968, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006354/0.006354, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.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.524/2.524, allocations: 437.8 MB / 0.7121 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 15.94 kB / 0.8729 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6338, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001594/0.6354, allocations: 1.211 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.6357, allocations: 112.6 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.6358, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.6358, allocations: 3.938 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.177e-05/0.6359, allocations: 11.92 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.6361, allocations: 19.97 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.6362, allocations: 43.8 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.6363, allocations: 11.98 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.6363, allocations: 19.92 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.6364, allocations: 19.91 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.6364, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.6365, allocations: 15.98 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.271e-05/0.6365, allocations: 11.98 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.6366, allocations: 45.56 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.6367, allocations: 55.8 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.6367, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6367, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.6367, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 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.0004875/0.6372, allocations: 385.6 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.6372, allocations: 12.02 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.6373, allocations: 34.69 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.6373, allocations: 8.844 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6374, allocations: 176.2 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.6374, allocations: 384 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6375, allocations: 8.375 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.6377, allocations: 82.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.6377, allocations: 3.938 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.6378, allocations: 8 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6378, allocations: 3.938 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.6381, allocations: 91.92 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.6384, allocations: 296.8 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.6387, allocations: 78.53 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.6389, allocations: 48.92 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002136/0.6391, allocations: 113 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.6391, allocations: 30.56 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.6391, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005821/0.6397, allocations: 181.5 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.6397, allocations: 59.39 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.6398, allocations: 125.3 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.6399, allocations: 25.7 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.6399, allocations: 96.03 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6399, allocations: 7.906 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.64, allocations: 13.72 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.6401, allocations: 318.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.6402, allocations: 43.97 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.6404, allocations: 51.89 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.6407, allocations: 108.7 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6407, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003511/0.6411, allocations: 137.5 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6411, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6411, allocations: 336 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.6411, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6412, allocations: 19.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6412, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.6413, allocations: 23.92 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.6414, allocations: 8 kB / 1.027 GB, free: 11.4 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.979e-05/0.6414, allocations: 118.3 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.6415, allocations: 7.984 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.6419, allocations: 149.4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.6419, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6419, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6419, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.642, allocations: 181.6 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6421, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.6422, allocations: 27.91 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6422, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.6422, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6422, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6422, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.6426, allocations: 243.2 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.6426, allocations: 81.02 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.6426, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.6428, allocations: 15.98 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.6428, allocations: 11.98 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.6428, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.6429, allocations: 99.27 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6429, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002213/0.6431, allocations: 12 kB / 1.028 GB, free: 10.37 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.0006488/0.6438, allocations: 0.767 MB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.6441, allocations: 103.8 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6441, allocations: 0 / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.6443, allocations: 51.97 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.6445, allocations: 17.48 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.645, allocations: 186.3 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.6452, allocations: 0.6926 MB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.6452, allocations: 4 kB / 1.03 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.6453, allocations: 15.42 kB / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of SimCode: time 1.774e-06/0.6453, allocations: 0 / 1.03 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6149/1.26, allocations: 1.563 MB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.26, allocations: 196.9 kB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.16, allocations: 3.938 kB / 1.032 GB, free: 6.754 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