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.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009559/0.0009558, allocations: 195.7 kB / 16.14 MB, free: 6.711 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.3/1.3, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.397/2.397, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5292, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002565/0.5318, allocations: 1.558 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.5321, allocations: 108.5 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.5321, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.019e-05/0.5322, allocations: 7.984 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.5323, allocations: 3.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.5324, allocations: 23.91 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.656e-05/0.5325, allocations: 55.78 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.238e-05/0.5326, allocations: 4 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.862e-05/0.5326, allocations: 15.92 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.5327, allocations: 19.92 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.5327, allocations: 0 / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.922e-05/0.5328, allocations: 19.98 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.5328, allocations: 15.92 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.5328, allocations: 27.86 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.533, allocations: 47.86 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.533, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.81e-07/0.533, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.533, allocations: 0 / 1.019 GB, free: 0.9297 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.0004466/0.5334, allocations: 385.5 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5335, allocations: 8.031 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.5335, allocations: 34.75 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.5335, allocations: 8.781 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.602e-05/0.5336, allocations: 176.2 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-06/0.5336, allocations: 8.375 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.5337, allocations: 8.359 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.5339, allocations: 70.22 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.5339, allocations: 3.938 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5339, allocations: 0 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.5339, allocations: 4 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.5342, allocations: 71.92 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.5345, allocations: 296.8 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.5348, allocations: 62.53 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.5349, allocations: 48.91 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.5351, allocations: 105.1 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5352, allocations: 34.56 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5352, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005002/0.5357, allocations: 153.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.5357, allocations: 51.41 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.5358, allocations: 125.8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.5358, allocations: 25.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.5359, allocations: 92.14 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.5359, allocations: 11.81 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.5359, allocations: 25.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.536, allocations: 314.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.5361, allocations: 39.95 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.5363, allocations: 31.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.5365, allocations: 84.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5365, allocations: 7.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003004/0.5368, allocations: 113.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5369, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5369, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.5369, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.537, allocations: 15.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.537, allocations: 3.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.5371, allocations: 15.92 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5371, allocations: 0 / 1.021 GB, free: 14.28 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 7.541e-05/0.5372, allocations: 118.3 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.5372, allocations: 11.84 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.5375, allocations: 125.4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5376, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5376, allocations: 4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.5376, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.5377, allocations: 181.6 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5377, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.5378, allocations: 15.98 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5378, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.5379, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5379, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5379, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.5382, allocations: 211.3 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.5382, allocations: 85.02 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5383, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5384, allocations: 15.91 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.5384, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.5384, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.088e-05/0.5385, allocations: 102.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5385, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002136/0.5387, allocations: 15.98 kB / 1.022 GB, free: 13.3 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.000574/0.5393, allocations: 0.7358 MB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.5396, allocations: 83.86 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5396, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.5397, allocations: 43.95 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.54, allocations: 5.25 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.5404, allocations: 201.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.5406, allocations: 0.6926 MB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.5406, allocations: 0 / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.5407, allocations: 15.44 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5407, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3949/0.9356, allocations: 1.623 MB / 1.025 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002709/0.9359, allocations: 195.5 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.519, allocations: 0 / 1.025 GB, free: 9.652 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