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.001176/0.001176, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001318/0.001318, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.87/2.87, allocations: 0.49 GB / 0.7959 GB, free: 33.42 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="cs",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="cs",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.001896/0.001896, allocations: 64.94 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2848, allocations: 176.1 MB / 1.327 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003226/0.288, allocations: 1.899 MB / 1.329 GB, free: 16 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.289, allocations: 0.5413 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.2891, allocations: 4 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.974e-05/0.2892, allocations: 15.8 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.2896, allocations: 99.41 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.898e-05/0.2896, allocations: 31.97 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.2898, allocations: 135.7 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.2901, allocations: 101.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.213e-05/0.2901, allocations: 55.78 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.2902, allocations: 67.69 kB / 1.33 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.2903, allocations: 16 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.2905, allocations: 91.94 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.2905, allocations: 35.86 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.2906, allocations: 71.59 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2909, allocations: 255 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2909, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2909, allocations: 0 / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2909, allocations: 4 kB / 1.33 GB, free: 14.5 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.0006104/0.2916, allocations: 393.4 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2916, allocations: 12.03 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.565e-05/0.2916, allocations: 8.188 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.2917, allocations: 47.11 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.2917, allocations: 24.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.292, allocations: 158.6 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.292, allocations: 16.75 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.292, allocations: 20.38 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.2924, allocations: 168.7 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2924, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2924, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2924, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003079/0.2927, allocations: 119.3 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.2935, allocations: 0.512 MB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2937, allocations: 74.55 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2938, allocations: 44.81 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.294, allocations: 31.97 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.2941, allocations: 30.56 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.2941, allocations: 3.938 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.004204/0.2983, allocations: 0.7621 MB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.2983, allocations: 55.41 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.2984, allocations: 144.1 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2985, allocations: 25.7 kB / 1.333 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.2986, allocations: 140.2 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2986, allocations: 51.59 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.2987, allocations: 41.7 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2988, allocations: 314.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.2992, allocations: 107.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.2996, allocations: 139.2 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.3004, allocations: 234.8 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3004, allocations: 7.875 kB / 1.334 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008994/0.3013, allocations: 277.4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3013, allocations: 5.25 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3013, allocations: 4 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3014, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.3017, allocations: 56.05 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3017, allocations: 7.938 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.302, allocations: 31.97 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.302, allocations: 7.984 kB / 1.334 GB, free: 10.25 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 (17): * Single equations (assignments): 17 * 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.0001326/0.3021, allocations: 134.3 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3022, allocations: 11.91 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009595/0.3031, allocations: 292.7 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3031, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3031, allocations: 4 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3031, allocations: 7.984 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.3045, allocations: 0.6093 MB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3045, allocations: 4 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.3048, allocations: 59.88 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3048, allocations: 0 / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3048, allocations: 0 / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.3048, allocations: 4 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3048, allocations: 7.922 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.3057, allocations: 359.2 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.3058, allocations: 15.91 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3058, allocations: 4 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.3061, allocations: 39.89 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.3061, allocations: 7.984 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3061, allocations: 4 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.3062, allocations: 112.5 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3062, allocations: 0 / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003094/0.3065, allocations: 59.88 kB / 1.336 GB, free: 8.461 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 (15): * Single equations (assignments): 15 * 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.001767/0.3083, allocations: 1.054 MB / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008839/0.3092, allocations: 219.8 kB / 1.337 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3092, allocations: 4.188 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.3096, allocations: 115.8 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.3099, allocations: 31.86 kB / 1.337 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.3138, allocations: 2.15 MB / 1.339 GB, free: 4.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3142, allocations: 0.7278 MB / 1.34 GB, free: 4.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001895/0.3144, allocations: 39.42 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3145, allocations: 47.42 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3145, allocations: 0 / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.3394, allocations: 4.673 MB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.94, allocations: 11.23 kB / 1.344 GB, free: 15.45 MB / 1.045 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.886325626983307]