Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_11_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.008119/0.00812, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002194/0.002194, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 71.83 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2995, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001573/0.3011, allocations: 0.5314 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001701/0.3013, allocations: 51.8 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.3013, allocations: 0 / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.3014, allocations: 0 / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3015, allocations: 3.938 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.39e-05/0.3016, allocations: 4 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.3016, allocations: 15.92 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.3017, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.3017, allocations: 8 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.3018, allocations: 11.92 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3018, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.3018, allocations: 4 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.3019, allocations: 3.984 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.3019, allocations: 11.94 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.841e-05/0.302, allocations: 11.92 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.302, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.302, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.302, allocations: 3.938 kB / 1.221 GB, free: 13.69 MB / 0.9825 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.0004105/0.3024, allocations: 339.4 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3024, allocations: 8.031 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.3025, allocations: 30.75 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.25e-05/0.3025, allocations: 4.922 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3027, allocations: 172.4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.3027, allocations: 384 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3027, allocations: 384 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.919e-05/0.3028, allocations: 38.19 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3028, allocations: 7.922 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.3029, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3029, allocations: 0 / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.3029, allocations: 8 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3031, allocations: 153.7 kB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.3031, allocations: 26.56 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.3031, allocations: 8.797 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3032, allocations: 0 / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3032, allocations: 38.62 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.3032, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.3033, allocations: 41.62 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3034, allocations: 51.41 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3035, allocations: 117.8 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3035, allocations: 25.7 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.3035, allocations: 84.14 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.3036, allocations: 7.922 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.3036, allocations: 21.8 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3037, allocations: 314.8 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.3038, allocations: 7.922 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.3038, allocations: 13.72 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.3038, allocations: 25.7 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3039, allocations: 4.062 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.554e-05/0.3039, allocations: 45.62 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.304, allocations: 15.88 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.304, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.304, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.304, allocations: 4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3041, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.3041, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3041, allocations: 4 kB / 1.222 GB, free: 11.86 MB / 0.9825 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 8.175e-05/0.3042, allocations: 117.9 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.3042, allocations: 7.938 kB / 1.222 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.842e-05/0.3043, allocations: 49.16 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3043, allocations: 3.938 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3043, allocations: 4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3043, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3045, allocations: 153.7 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3045, allocations: 0 / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.3045, allocations: 8.234 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3045, allocations: 7.969 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3045, allocations: 4 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3045, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3046, allocations: 0 / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.3047, allocations: 81.02 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.3047, allocations: 81.09 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3048, allocations: 3.938 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.3048, allocations: 4.031 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.3048, allocations: 4.094 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.3048, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.695e-05/0.3049, allocations: 91.27 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3049, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001876/0.3051, allocations: 4 kB / 1.223 GB, free: 11.14 MB / 0.9825 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.0004222/0.3055, allocations: 0.6223 MB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.14e-05/0.3056, allocations: 19.92 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3056, allocations: 0 / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.3056, allocations: 12 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.3058, allocations: 1.719 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3068, allocations: 1.147 MB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3071, allocations: 0.6884 MB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.63e-05/0.3071, allocations: 0 / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3072, allocations: 15.42 kB / 1.225 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3072, allocations: 4 kB / 1.225 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.33, allocations: 1.195 MB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.016, allocations: 0 / 1.227 GB, free: 7.367 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Buildings_11_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches