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.00124/0.00124, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001521/0.001521, allocations: 216.8 kB / 22.25 MB, free: 5.129 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.351/1.351, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.955/2.955, allocations: 0.49 GB / 0.7951 GB, free: 33.44 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.001904/0.001904, allocations: 67.39 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.00316/0.2868, allocations: 1.903 MB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.2878, allocations: 0.5451 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.2878, allocations: 4 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.639e-05/0.2879, allocations: 15.8 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.2883, allocations: 99.41 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.627e-05/0.2883, allocations: 35.97 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.2885, allocations: 131.7 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.2887, allocations: 101.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.2888, allocations: 59.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.2889, allocations: 67.69 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.2889, allocations: 16 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2891, allocations: 87.94 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.2891, allocations: 43.84 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.2892, allocations: 67.61 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.2895, allocations: 247.1 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2895, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2895, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2895, allocations: 0 / 1.329 GB, free: 14.55 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.0005761/0.2901, allocations: 401.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2902, allocations: 12.03 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/0.2902, allocations: 50.73 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.2903, allocations: 20.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.2905, allocations: 154.3 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2905, allocations: 20.33 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.2905, allocations: 12.38 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.2908, allocations: 170.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2909, allocations: 3.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.2909, allocations: 8 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2909, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.2912, allocations: 115.8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.2919, allocations: 492.4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.292, allocations: 62.48 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.2921, allocations: 28.94 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.2924, allocations: 27.97 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2924, allocations: 38.5 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 2.925e-06/0.2924, allocations: 3.984 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003659/0.2928, allocations: 109.6 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2928, allocations: 55.34 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2929, allocations: 139.9 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2929, allocations: 29.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.293, allocations: 147.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.293, allocations: 7.906 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.2931, allocations: 29.66 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2932, allocations: 318.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.2933, allocations: 23.98 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2934, allocations: 59.38 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.2936, allocations: 87.58 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2936, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002457/0.2938, allocations: 105.5 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2939, allocations: 12.09 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2939, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2939, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.294, allocations: 23.92 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.294, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.2941, allocations: 19.88 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.2941, allocations: 4 kB / 1.332 GB, free: 11.59 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 0.0001307/0.2942, allocations: 118.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.2942, allocations: 19.88 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2945, allocations: 100.4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2945, allocations: 3.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2945, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2945, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.2947, allocations: 188.7 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2947, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.2948, allocations: 23.92 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2948, allocations: 3.938 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2948, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2948, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2948, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.2951, allocations: 183.6 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.2951, allocations: 15.83 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2951, allocations: 11.92 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.2952, allocations: 12 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2953, allocations: 3.984 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.2953, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.29e-05/0.2954, allocations: 108.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2954, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002912/0.2956, allocations: 55.75 kB / 1.333 GB, free: 10.68 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.0007849/0.2964, allocations: 0.7865 MB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.2967, allocations: 55.89 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2967, allocations: 8.188 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.2968, allocations: 35.91 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2971, allocations: 13.97 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.299, allocations: 1.593 MB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.2994, allocations: 0.7197 MB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.2994, allocations: 11 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.2995, allocations: 47.41 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.2995, allocations: 4 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3292, allocations: 2.816 MB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.5, allocations: 4.641 kB / 1.339 GB, free: 4.625 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997_fmu --startTime=0 --stopTime=35 --stepSize=1 --timeout=400 --tolerance=1e-08 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.530104230856523]