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.0009457/0.0009457, allocations: 91.38 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.00756/0.00756, allocations: 173 kB / 16.26 MB, free: 6.676 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.424/2.424, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8223, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0007445/0.8231, allocations: 264.8 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.8233, allocations: 43.75 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.8233, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.8234, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.8235, allocations: 7.984 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.924e-05/0.8236, allocations: 12 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.8236, allocations: 7.938 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.8237, allocations: 4 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.8237, allocations: 3.984 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.8238, allocations: 15.92 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.8239, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.368e-05/0.8239, allocations: 4 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.824, allocations: 3.984 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.824, allocations: 33.64 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.671e-05/0.8241, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.8241, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8241, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.8241, allocations: 0 / 1.024 GB, free: 15.45 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004887/0.8246, allocations: 333.8 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8247, allocations: 11.97 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.8247, allocations: 30.75 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.8247, allocations: 4.938 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.825, allocations: 184.1 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.825, allocations: 4.375 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.825, allocations: 4.375 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/0.8251, allocations: 34.02 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.8251, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.8251, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8251, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.8252, allocations: 7.984 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.8254, allocations: 153.7 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.217e-05/0.8255, allocations: 30.5 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.8255, allocations: 8.922 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.8255, allocations: 0 / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.8256, allocations: 38.48 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.8256, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001825/0.8258, allocations: 41.69 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.8258, allocations: 51.41 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.826, allocations: 114 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.826, allocations: 29.64 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.8261, allocations: 84.14 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.8261, allocations: 3.906 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.8261, allocations: 13.72 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8263, allocations: 314.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.8263, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.8264, allocations: 13.72 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.8264, allocations: 29.77 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8265, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.8266, allocations: 45.62 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8266, allocations: 7.938 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8266, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.8266, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.8267, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8267, allocations: 4.062 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.8267, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.8268, allocations: 7.922 kB / 1.025 GB, free: 13.61 MB / 0.7794 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.06e-05/0.8268, allocations: 110.4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.8269, allocations: 7.844 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.827, allocations: 57.09 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.827, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.827, allocations: 0 / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.827, allocations: 4.031 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.8271, allocations: 161.7 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8271, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.762e-05/0.8272, allocations: 7.938 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.8272, allocations: 3.938 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8272, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8272, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8272, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.8274, allocations: 81.08 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.8274, allocations: 85.05 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.8274, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.8275, allocations: 256 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.8275, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.8275, allocations: 7.984 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.8276, allocations: 87.28 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8276, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002618/0.8279, allocations: 0 / 1.026 GB, free: 12.91 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.0004044/0.8283, allocations: 0.6241 MB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.8284, allocations: 11.98 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8284, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.8284, allocations: 4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.8286, allocations: 8.281 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.8297, allocations: 1.15 MB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.8299, allocations: 0.6848 MB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.83, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.83, allocations: 11.44 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.83, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.8469, allocations: 0.9942 MB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003288/0.8473, allocations: 195 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.694, allocations: 0 / 1.029 GB, free: 9.121 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