Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 222.8 kB / 22.26 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.886/2.886, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 70.78 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2843, allocations: 176.1 MB / 1.326 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002888/0.2872, allocations: 1.904 MB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.288, allocations: 0.5451 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.2881, allocations: 4 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.2882, allocations: 15.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.2885, allocations: 91.48 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.328e-05/0.2885, allocations: 43.95 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2887, allocations: 135.6 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.2889, allocations: 96.81 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.289, allocations: 51.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.2891, allocations: 67.69 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.2891, allocations: 16 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.2893, allocations: 95.92 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.2893, allocations: 39.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.2894, allocations: 67.61 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.2897, allocations: 243.1 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2897, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2897, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2897, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005495/0.2902, allocations: 397.3 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.2903, allocations: 12.03 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.29e-05/0.2903, allocations: 50.73 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.2904, allocations: 20.8 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.2906, allocations: 154.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.2906, allocations: 20.33 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2906, allocations: 16.38 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.2909, allocations: 162.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.291, allocations: 3.938 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.291, allocations: 8 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.291, allocations: 7.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2913, allocations: 119.8 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.292, allocations: 496.3 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.2922, allocations: 54.55 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.398e-05/0.2923, allocations: 36.92 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.2925, allocations: 23.98 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2925, allocations: 42.48 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.2925, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003713/0.2929, allocations: 109.5 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.2929, allocations: 51.41 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2931, allocations: 143.9 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2931, allocations: 25.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.2932, allocations: 147.6 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.2932, allocations: 11.91 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2932, allocations: 21.7 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2933, allocations: 318.8 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.2934, allocations: 23.97 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2935, allocations: 51.41 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.2937, allocations: 83.34 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2937, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002463/0.294, allocations: 125.7 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.294, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.294, allocations: 0 / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.294, allocations: 7.984 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.2941, allocations: 15.98 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.2941, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.756e-05/0.2942, allocations: 15.88 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.2942, allocations: 4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 9.757e-05/0.2943, allocations: 130.4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.2943, allocations: 11.89 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.2946, allocations: 96.3 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2946, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2946, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2946, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2948, allocations: 192.7 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2948, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.2949, allocations: 27.86 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2949, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.2949, allocations: 0 / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.2949, allocations: 3.984 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2949, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2952, allocations: 187.4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.2952, allocations: 19.83 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2952, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.2953, allocations: 15.92 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.2953, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2953, allocations: 8.172 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.083e-05/0.2954, allocations: 104.8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2954, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002813/0.2957, allocations: 51.77 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.000743/0.2964, allocations: 0.7957 MB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.2967, allocations: 64.02 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2967, allocations: 0 / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.2968, allocations: 27.98 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.2971, allocations: 14.02 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.2989, allocations: 1.595 MB / 1.335 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2992, allocations: 0.7235 MB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.2993, allocations: 7.344 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.2993, allocations: 43.42 kB / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.2993, allocations: 0 / 1.336 GB, free: 7.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3274, allocations: 2.814 MB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.898/10.23, allocations: 10.81 kB / 1.339 GB, free: 4.664 MB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.csv --start-time 0 --stop-time 35 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sigBus1.TEvaInMea in file Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.csv. Warning: Get data of variable sigBus1.TEvaInMea from file Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.180606926998735]