Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.001535/0.001535, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 469.4 MB / 0.742 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 65.03 kB / 0.9083 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2953, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001745/0.2971, allocations: 0.527 MB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.2973, allocations: 15.91 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.2973, allocations: 0 / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.2973, allocations: 0 / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2975, allocations: 3.984 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.2975, allocations: 0 / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.679e-05/0.2975, allocations: 11.94 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2976, allocations: 4 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.2976, allocations: 4 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2977, allocations: 0 / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2977, allocations: 3.938 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-06/0.2977, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.2977, allocations: 3.984 kB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.2977, allocations: 0 / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 4.052e-05/0.2978, allocations: 4 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2978, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2978, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2978, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002573/0.2981, allocations: 319.6 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2981, allocations: 8.031 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.2981, allocations: 34.75 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.2982, allocations: 0.9375 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.402e-05/0.2983, allocations: 168.3 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.2983, allocations: 4.312 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.2983, allocations: 384 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.2984, allocations: 47.92 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2984, allocations: 3.938 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2984, allocations: 0 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2984, allocations: 4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.2985, allocations: 4 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2986, allocations: 154.5 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.2987, allocations: 45.22 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.2987, allocations: 13.72 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.2987, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.2987, allocations: 38.56 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2987, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001237/0.2989, allocations: 45.62 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2989, allocations: 81.3 kB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.299, allocations: 97.86 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.299, allocations: 29.7 kB / 1.065 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.549e-05/0.299, allocations: 80.14 kB / 1.065 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2991, allocations: 12.11 kB / 1.065 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.2991, allocations: 13.72 kB / 1.065 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.2992, allocations: 310.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.2992, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.2992, allocations: 17.84 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.2993, allocations: 13.72 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2993, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.187e-05/0.2993, allocations: 49.62 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2994, allocations: 7.938 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2994, allocations: 0 / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2994, allocations: 8.109 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.2994, allocations: 4 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2995, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.2995, allocations: 8 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2995, allocations: 3.984 kB / 1.066 GB, free: 12.02 MB / 0.8262 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.222e-05/0.2996, allocations: 109.8 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.2996, allocations: 11.84 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2997, allocations: 56.69 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.2997, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2997, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2997, allocations: 0 / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/0.2998, allocations: 153.7 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2998, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.2998, allocations: 4 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2999, allocations: 7.875 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.2999, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2999, allocations: 4 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2999, allocations: 64 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.094e-05/0.3, allocations: 69.98 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.3, allocations: 77.11 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3, allocations: 11.88 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.582e-05/0.3001, allocations: 0 / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.3001, allocations: 0 / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.3001, allocations: 32 / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.3001, allocations: 91.27 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3001, allocations: 0 / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001825/0.3003, allocations: 0 / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003246/0.3006, allocations: 0.6022 MB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.3007, allocations: 15.94 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3007, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.176e-05/0.3008, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.3009, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.3012, allocations: 123.8 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3015, allocations: 0.6768 MB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.897e-05/0.3015, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/0.3015, allocations: 7.438 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3015, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.3194, allocations: 0.9123 MB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.652, allocations: 9.938 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches