Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_10_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.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001749/0.001749, allocations: 195 kB / 16.14 MB, free: 6.648 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.33/1.33, allocations: 222.9 MB / 239.8 MB, free: 4.5 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.496/2.496, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5748, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001573/0.5764, allocations: 0.6013 MB / 1.017 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.5765, allocations: 35.81 kB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.5766, allocations: 7.938 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.5766, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.5768, allocations: 4 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.299e-05/0.5768, allocations: 11.98 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.5769, allocations: 11.92 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.5769, allocations: 4 kB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.5769, allocations: 0 / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.577, allocations: 23.86 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.577, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.577, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.5771, allocations: 4 kB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.5771, allocations: 11.92 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 4.252e-05/0.5772, allocations: 7.984 kB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.5772, allocations: 0 / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.91e-07/0.5772, allocations: 0 / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5772, allocations: 0 / 1.017 GB, free: 2.043 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003644/0.5776, allocations: 343.4 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5776, allocations: 8.031 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.5776, allocations: 30.75 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.5777, allocations: 8.844 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.5778, allocations: 176.4 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.5778, allocations: 384 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.5778, allocations: 4.312 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.222e-05/0.5779, allocations: 30.27 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.5779, allocations: 3.938 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.5779, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.578, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.578, allocations: 7.984 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.5781, allocations: 157.7 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.5782, allocations: 18.58 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.5782, allocations: 8.797 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.5782, allocations: 4.062 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.5782, allocations: 30.56 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.5782, allocations: 3.984 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.5784, allocations: 53.52 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5784, allocations: 55.53 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.5785, allocations: 109.8 kB / 1.018 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.5785, allocations: 25.7 kB / 1.018 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.5786, allocations: 84.14 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.5786, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.5786, allocations: 9.719 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5787, allocations: 318.8 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.5787, allocations: 7.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.5788, allocations: 17.72 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.5788, allocations: 21.7 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5788, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.14e-05/0.5789, allocations: 53.53 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5789, allocations: 13.97 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-06/0.5789, allocations: 128 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.5789, allocations: 7.938 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.867e-05/0.579, allocations: 4 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.579, allocations: 256 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.579, allocations: 7.922 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.5791, allocations: 8 kB / 1.019 GB, free: 204 kB / 0.7637 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 7.347e-05/0.5791, allocations: 106.4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.5792, allocations: 7.938 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.925e-05/0.5792, allocations: 53.09 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.5793, allocations: 4.031 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.5793, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5793, allocations: 0 / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.5794, allocations: 157.7 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5794, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.5795, allocations: 4 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5795, allocations: 3.938 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.5795, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5795, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5795, allocations: 0 / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.5796, allocations: 89.05 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.5797, allocations: 81.02 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.5797, allocations: 7.969 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.5797, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.5797, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.5797, allocations: 3.984 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.5798, allocations: 87.28 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5798, allocations: 4.094 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001825/0.58, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 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.0003498/0.5803, allocations: 0.6086 MB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.5804, allocations: 15.92 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5804, allocations: 8.219 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-05/0.5805, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5806, allocations: 2.25 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.5815, allocations: 1.156 MB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.5817, allocations: 0.677 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.5818, allocations: 7.984 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.5818, allocations: 19.38 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5818, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2283/0.8101, allocations: 1.052 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.8103, allocations: 198.1 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.867, allocations: 0 / 1.023 GB, free: 11.62 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches