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.001351/0.001351, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001723/0.001723, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.466/1.466, allocations: 230.6 MB / 252.8 MB, free: 9.109 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 3.203/3.203, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] 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.002075/0.002075, allocations: 63.22 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3109, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003575/0.3145, allocations: 1.875 MB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3156, allocations: 0.5451 MB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3157, allocations: 0 / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.783e-05/0.3158, allocations: 19.8 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.3163, allocations: 103.4 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.732e-05/0.3164, allocations: 35.97 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.3166, allocations: 123.8 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.3168, allocations: 108.3 kB / 1.324 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3169, allocations: 51.8 kB / 1.324 GB, free: 480 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.042e-05/0.317, allocations: 63.69 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.317, allocations: 20 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3173, allocations: 91.94 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3173, allocations: 31.86 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.385e-05/0.3174, allocations: 83.58 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.3178, allocations: 251 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3178, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3178, allocations: 0 / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3178, allocations: 0 / 1.324 GB, free: 15.94 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.0006661/0.3185, allocations: 466.6 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3185, allocations: 15.92 kB / 1.325 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.3186, allocations: 58.67 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.3186, allocations: 20.8 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.3189, allocations: 208.2 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.3189, allocations: 24.33 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.3189, allocations: 16.38 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.3193, allocations: 162.1 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3193, allocations: 3.938 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3193, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.098e-06/0.3193, allocations: 7.984 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3196, allocations: 115.9 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.3204, allocations: 0.5233 MB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3206, allocations: 62.58 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3207, allocations: 28.84 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.321, allocations: 186.2 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3211, allocations: 34.5 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.3211, allocations: 0 / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0004111/0.3215, allocations: 105.6 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3215, allocations: 51.41 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3216, allocations: 143.5 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3217, allocations: 29.7 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.3218, allocations: 147.6 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.3218, allocations: 19.83 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3218, allocations: 17.72 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.322, allocations: 322.8 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.746e-05/0.322, allocations: 19.98 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3222, allocations: 59.39 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.3224, allocations: 83.58 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3224, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002727/0.3227, allocations: 113.5 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3227, allocations: 4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3227, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3227, allocations: 4 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3228, allocations: 15.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3228, allocations: 7.938 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.3229, allocations: 15.97 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3229, allocations: 8 kB / 1.327 GB, free: 12.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.0001068/0.323, allocations: 121.8 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.323, allocations: 11.88 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3233, allocations: 97.95 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3233, allocations: 0 / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3233, allocations: 4 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3233, allocations: 7.875 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.3236, allocations: 217.6 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3236, allocations: 0 / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.3237, allocations: 15.92 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3237, allocations: 4 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3237, allocations: 7.938 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3237, allocations: 0 / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3237, allocations: 0 / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.324, allocations: 187.6 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.324, allocations: 88.98 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.324, allocations: 0 / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3241, allocations: 8 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.3242, allocations: 7.984 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3242, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.3243, allocations: 116.8 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3243, allocations: 4 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003275/0.3246, allocations: 63.64 kB / 1.328 GB, free: 11.55 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.0008422/0.3254, allocations: 0.7903 MB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3257, allocations: 59.89 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3257, allocations: 0 / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3258, allocations: 31.97 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3261, allocations: 4.812 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3281, allocations: 1.603 MB / 1.33 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.3285, allocations: 0.7158 MB / 1.331 GB, free: 8.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.241e-05/0.3285, allocations: 11.17 kB / 1.331 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.3286, allocations: 43.36 kB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.3286, allocations: 0 / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.3553, allocations: 2.723 MB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.225, allocations: 13.52 kB / 1.334 GB, free: 5.602 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.690925276838243]