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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.006716/0.006717, allocations: 98.05 kB / 15.73 MB, free: 6.004 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.001686/0.001686, allocations: 197.2 kB / 16.67 MB, free: 5.922 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.708/2.708, allocations: 469.4 MB / 0.7422 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2623, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001544/0.2638, allocations: 0.5406 MB / 1.22 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.264, allocations: 43.81 kB / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.354e-05/0.2641, allocations: 0 / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2641, allocations: 0 / 1.22 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.2643, allocations: 11.92 kB / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.2643, allocations: 0 / 1.22 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.2644, allocations: 15.92 kB / 1.22 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.2644, allocations: 4 kB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.2645, allocations: 0 / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.472e-05/0.2645, allocations: 19.92 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2646, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-06/0.2646, allocations: 0 / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.2646, allocations: 3.984 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.2646, allocations: 11.94 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.72e-05/0.2647, allocations: 11.92 kB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2647, allocations: 0 / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2647, allocations: 3.938 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.2647, allocations: 0 / 1.22 GB, free: 14.04 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.0003828/0.2651, allocations: 331.4 kB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2652, allocations: 12.03 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.2652, allocations: 34.75 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.2652, allocations: 8.922 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2654, allocations: 164.4 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-06/0.2654, allocations: 384 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.2654, allocations: 4.312 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.604e-05/0.2655, allocations: 34.25 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2655, allocations: 3.938 kB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.2655, allocations: 0 / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2655, allocations: 8 kB / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.2656, allocations: 0 / 1.221 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.2657, allocations: 157.7 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.2657, allocations: 26.56 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.2658, allocations: 12.86 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2658, allocations: 0 / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.2658, allocations: 30.56 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2658, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.2659, allocations: 49.61 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.266, allocations: 51.41 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.2661, allocations: 109.8 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2661, allocations: 29.7 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.2661, allocations: 84.14 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2661, allocations: 3.938 kB / 1.221 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2662, allocations: 17.8 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2663, allocations: 318.8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.2663, allocations: 11.92 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.2663, allocations: 13.72 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.2664, allocations: 25.7 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2664, allocations: 256 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.339e-05/0.2665, allocations: 49.69 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2665, allocations: 7.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2665, allocations: 7.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2665, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.2666, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2666, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.2666, allocations: 4 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.2667, allocations: 0 / 1.222 GB, free: 12.21 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 6.74e-05/0.2667, allocations: 119.3 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.2667, allocations: 7.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.2668, allocations: 57.09 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2669, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2669, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2669, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.527e-05/0.267, allocations: 153.7 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.267, allocations: 0 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.125e-05/0.267, allocations: 11.98 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.267, allocations: 3.938 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2671, allocations: 32 / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2671, allocations: 8 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2671, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.2672, allocations: 77.02 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.2672, allocations: 85.12 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2673, allocations: 3.938 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.2673, allocations: 0 / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.2673, allocations: 0 / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2673, allocations: 4.094 kB / 1.222 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.2674, allocations: 91.27 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2674, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001857/0.2676, allocations: 4 kB / 1.223 GB, free: 11.49 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.0003244/0.2679, allocations: 0.6182 MB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.128e-05/0.268, allocations: 23.92 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.268, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.268, allocations: 8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.2681, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.269, allocations: 1.143 MB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.2692, allocations: 0.6807 MB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.2692, allocations: 7.938 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.2693, allocations: 19.42 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of SimCode: time 1.763e-06/0.2693, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.2858, allocations: 1.199 MB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.408, allocations: 4.062 kB / 1.226 GB, free: 7.727 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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