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.0008083/0.0008083, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007847/0.0007847, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8717/0.8717, allocations: 177.1 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.698/1.698, allocations: 377.8 MB / 0.6221 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.981 GB, free: 1.379 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.327e-06/1.052e-05, allocations: 10.22 kB / 0.981 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.001935/0.001946, allocations: 1.845 MB / 0.9828 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006112/0.002557, allocations: 0.514 MB / 0.9833 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.002612, allocations: 4 kB / 0.9833 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.002652, allocations: 15.8 kB / 0.9833 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.00295, allocations: 99.34 kB / 0.9834 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.706e-05/0.002997, allocations: 43.95 kB / 0.9835 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003111, allocations: 143.6 kB / 0.9836 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.003294, allocations: 103.5 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.003378, allocations: 83.8 kB / 0.9838 GB, free: 14.51 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.003426, allocations: 47.81 kB / 0.9838 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.003447, allocations: 16 kB / 0.9839 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.003573, allocations: 95.92 kB / 0.9839 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.003597, allocations: 31.91 kB / 0.984 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.00363, allocations: 43.84 kB / 0.984 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.003924, allocations: 275 kB / 0.9843 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003926, allocations: 0 / 0.9843 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003926, allocations: 0 / 0.9843 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.00393, allocations: 7.938 kB / 0.9843 GB, free: 14 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004017/0.004332, allocations: 397.4 kB / 0.9847 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.004366, allocations: 8.031 kB / 0.9847 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.00443, allocations: 58.72 kB / 0.9847 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.004459, allocations: 20.8 kB / 0.9848 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.004604, allocations: 153.5 kB / 0.9849 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.004621, allocations: 16.38 kB / 0.9849 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.004634, allocations: 12.38 kB / 0.9849 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.004842, allocations: 166.8 kB / 0.9851 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004849, allocations: 4.188 kB / 0.9851 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.00486, allocations: 8.375 kB / 0.9851 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004867, allocations: 12.06 kB / 0.9851 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.005026, allocations: 115.9 kB / 0.9852 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.005492, allocations: 464.8 kB / 0.9857 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.005593, allocations: 58.55 kB / 0.9857 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.005644, allocations: 36.94 kB / 0.9858 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.005776, allocations: 27.97 kB / 0.9858 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.005798, allocations: 34.5 kB / 0.9858 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.005799, allocations: 0 / 0.9858 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0002228/0.006022, allocations: 113.5 kB / 0.9859 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.006047, allocations: 55.39 kB / 0.986 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.006126, allocations: 152.2 kB / 0.9861 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.006134, allocations: 25.7 kB / 0.9861 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/0.006189, allocations: 144 kB / 0.9863 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.006199, allocations: 19.84 kB / 0.9863 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.006234, allocations: 25.7 kB / 0.9863 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.0063, allocations: 314.8 kB / 0.9866 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.00635, allocations: 31.91 kB / 0.9867 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.006411, allocations: 60.2 kB / 0.9867 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.006517, allocations: 84.2 kB / 0.9868 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.006518, allocations: 4 kB / 0.9868 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001341/0.006652, allocations: 113.5 kB / 0.9869 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.006665, allocations: 8.125 kB / 0.9869 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006669, allocations: 4 kB / 0.9869 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.006682, allocations: 7.938 kB / 0.9869 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.006742, allocations: 19.98 kB / 0.9869 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.006746, allocations: 0 / 0.9869 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.006786, allocations: 19.94 kB / 0.987 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.006794, allocations: 4 kB / 0.987 GB, free: 11.04 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 5.788e-05/0.006851, allocations: 117.8 kB / 0.9871 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.006866, allocations: 11.89 kB / 0.9871 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.007015, allocations: 104.5 kB / 0.9872 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.007018, allocations: 3.938 kB / 0.9872 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007021, allocations: 0 / 0.9872 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.007025, allocations: 3.984 kB / 0.9872 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.007167, allocations: 196.6 kB / 0.9874 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007167, allocations: 0 / 0.9874 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.007198, allocations: 12.19 kB / 0.9874 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007199, allocations: 0 / 0.9874 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.007208, allocations: 11.92 kB / 0.9874 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.00721, allocations: 3.938 kB / 0.9874 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007211, allocations: 0 / 0.9874 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.007347, allocations: 183.4 kB / 0.9876 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.007358, allocations: 7.953 kB / 0.9876 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.007369, allocations: 0 / 0.9876 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.007414, allocations: 11.92 kB / 0.9876 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.007447, allocations: 11.98 kB / 0.9876 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.00745, allocations: 4 kB / 0.9876 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.007496, allocations: 111.2 kB / 0.9877 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.007496, allocations: 0 / 0.9877 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001938/0.00769, allocations: 55.75 kB / 0.9878 GB, free: 10.13 MB / 0.9011 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.0004442/0.008134, allocations: 0.792 MB / 0.9886 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.008276, allocations: 68.02 kB / 0.9886 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.008277, allocations: 0 / 0.9886 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.008325, allocations: 27.98 kB / 0.9886 GB, free: 9.219 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.008531, allocations: 22.55 kB / 0.9887 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.009632, allocations: 1.632 MB / 0.9903 GB, free: 7.457 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.907e-05/0.009691, allocations: 99.45 kB / 0.9904 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.00973, allocations: 15.58 kB / 0.9904 GB, free: 7.324 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.009777, allocations: 44.48 kB / 0.9904 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/0.009778, allocations: 0 / 0.9904 GB, free: 7.281 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.02436, allocations: 3.456 MB / 0.9938 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.04, allocations: 11.48 kB / 0.9938 GB, free: 4.039 MB / 0.9011 GB " [Timeout remaining time 293] (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/jenkins/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: 10.887094196863472]