Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",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.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001338/0.001338, allocations: 192.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.577/2.577, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.18/6.18, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 65.7 kB / 0.8987 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6417, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.003504/0.6453, allocations: 0.5978 MB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000301/0.6457, allocations: 47.86 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.28e-05/0.6458, allocations: 0 / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.587e-05/0.6458, allocations: 0 / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.6461, allocations: 7.938 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.163e-05/0.6462, allocations: 7.984 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.696e-05/0.6463, allocations: 4 kB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.6464, allocations: 3.984 kB / 1.053 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.6465, allocations: 8 kB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.6466, allocations: 11.92 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.6466, allocations: 0 / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.6467, allocations: 7.938 kB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.6467, allocations: 7.938 kB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.6468, allocations: 7.922 kB / 1.053 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.6469, allocations: 15.92 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.6469, allocations: 0 / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.871e-06/0.647, allocations: 4 kB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.647, allocations: 0 / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0008564/0.6478, allocations: 327.8 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.544e-05/0.6479, allocations: 12.62 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.648, allocations: 34.75 kB / 1.053 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.648, allocations: 0.9375 kB / 1.053 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.6484, allocations: 176.3 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.6484, allocations: 384 / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.6485, allocations: 8.359 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.6486, allocations: 30.27 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.6486, allocations: 3.938 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6487, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.6487, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.6487, allocations: 11.92 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.6491, allocations: 157.7 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.167e-05/0.6492, allocations: 14.58 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.6492, allocations: 8.922 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.6493, allocations: 0 / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.6493, allocations: 34.56 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.6493, allocations: 0 / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002836/0.6496, allocations: 61.45 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.6497, allocations: 51.41 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.6499, allocations: 109.8 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.6499, allocations: 25.7 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.65, allocations: 84.14 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.6501, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.6502, allocations: 13.72 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6504, allocations: 323 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.6504, allocations: 8 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.6505, allocations: 13.72 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.596e-05/0.6506, allocations: 25.64 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6506, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001335/0.6507, allocations: 49.59 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.6508, allocations: 17.41 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.6508, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.6508, allocations: 7.938 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6509, allocations: 4 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.651, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.651, allocations: 3.938 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.651, allocations: 3.984 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 0.0001271/0.6512, allocations: 109.8 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.6512, allocations: 7.938 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.6514, allocations: 49.22 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6514, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.6514, allocations: 256 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6514, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.6517, allocations: 165.7 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6517, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.342e-05/0.6518, allocations: 3.938 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.6518, allocations: 7.938 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.6518, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6518, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6518, allocations: 4.031 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.652, allocations: 81.02 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.6522, allocations: 81.14 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.6523, allocations: 3.938 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/0.6523, allocations: 0 / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.6523, allocations: 4 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.6524, allocations: 3.984 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.473e-05/0.6524, allocations: 91.38 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6525, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003417/0.6528, allocations: 0 / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000696/0.6535, allocations: 0.6163 MB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.6537, allocations: 16.08 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6537, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.6537, allocations: 7.938 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.654, allocations: 8 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6558, allocations: 1.147 MB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.6562, allocations: 0.6884 MB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.6563, allocations: 7.984 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.6563, allocations: 11.44 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of SimCode: time 4.01e-07/0.6563, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5795/1.236, allocations: 1.082 MB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004557/1.236, allocations: 207.5 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.501/5.737, allocations: 0 / 1.059 GB, free: 1.457 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches