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.001279/0.001279, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001257/0.001257, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9112/0.9112, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.701/1.701, allocations: 377.8 MB / 0.6221 GB, free: 8.645 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.723e-06/1.723e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.307e-05, allocations: 5.375 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002335/0.002358, allocations: 1.867 MB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007645/0.003122, allocations: 0.5216 MB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/0.003194, allocations: 4 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.00324, allocations: 15.8 kB / 0.9834 GB, free: 124 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.003602, allocations: 103.3 kB / 0.9835 GB, free: 20 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.631e-05/0.003669, allocations: 39.97 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.003803, allocations: 135.7 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.004028, allocations: 88.89 kB / 0.9837 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.903e-05/0.004117, allocations: 91.81 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.004175, allocations: 43.8 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.004199, allocations: 20 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.004345, allocations: 91.92 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.00437, allocations: 31.92 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.004409, allocations: 47.83 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.00467, allocations: 279 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004673, allocations: 0 / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004674, allocations: 0 / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004679, allocations: 0 / 0.9843 GB, free: 15.16 MB / 0.948 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.0004533/0.005132, allocations: 397.5 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.005172, allocations: 8.031 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.754e-05/0.00524, allocations: 54.73 kB / 0.9847 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.005273, allocations: 24.78 kB / 0.9847 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.005435, allocations: 161.5 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.005451, allocations: 12.38 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.005466, allocations: 12.38 kB / 0.9849 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.005691, allocations: 166.8 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.0057, allocations: 192 / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.005718, allocations: 16.38 kB / 0.9851 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005725, allocations: 8.125 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.00589, allocations: 111.9 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.006399, allocations: 464.8 kB / 0.9857 GB, free: 13.64 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.006511, allocations: 54.55 kB / 0.9857 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.006567, allocations: 32.92 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.006734, allocations: 39.91 kB / 0.9858 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.00693, allocations: 34.5 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.006931, allocations: 0 / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0002565/0.007187, allocations: 113.5 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.007222, allocations: 51.41 kB / 0.986 GB, free: 13.28 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.007317, allocations: 148.4 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.007329, allocations: 29.64 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.007399, allocations: 152 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.007411, allocations: 19.84 kB / 0.9863 GB, free: 12.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.007444, allocations: 21.72 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.007523, allocations: 318.8 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.007575, allocations: 27.97 kB / 0.9867 GB, free: 12.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.007651, allocations: 56.22 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.007764, allocations: 88.19 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.007768, allocations: 4 kB / 0.9868 GB, free: 12.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001561/0.007924, allocations: 113.5 kB / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.007941, allocations: 8 kB / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.007947, allocations: 0 / 0.9869 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007962, allocations: 12.06 kB / 0.9869 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.008033, allocations: 15.98 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.008038, allocations: 4 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.008081, allocations: 19.94 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.008089, allocations: 4 kB / 0.987 GB, free: 12.19 MB / 0.948 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 7.011e-05/0.008159, allocations: 121.8 kB / 0.9871 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.008177, allocations: 7.953 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.00835, allocations: 102.4 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.008353, allocations: 4 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.008359, allocations: 4 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008362, allocations: 0 / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.008512, allocations: 192.6 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008513, allocations: 0 / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.008547, allocations: 15.98 kB / 0.9874 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008549, allocations: 3.984 kB / 0.9874 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.008557, allocations: 0 / 0.9874 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.008559, allocations: 7.938 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.008561, allocations: 0 / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.008715, allocations: 187.5 kB / 0.9876 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.008729, allocations: 15.94 kB / 0.9876 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.00874, allocations: 3.938 kB / 0.9876 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.008785, allocations: 11.94 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.00882, allocations: 7.984 kB / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.008824, allocations: 0 / 0.9876 GB, free: 11.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.008873, allocations: 117.4 kB / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008873, allocations: 4 kB / 0.9877 GB, free: 11.33 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002025/0.009075, allocations: 51.77 kB / 0.9878 GB, free: 11.28 MB / 0.948 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.0005224/0.009597, allocations: 0.7865 MB / 0.9886 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.009752, allocations: 67.88 kB / 0.9886 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009754, allocations: 8.25 kB / 0.9886 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.009801, allocations: 23.98 kB / 0.9887 GB, free: 10.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01006, allocations: 16.3 kB / 0.9887 GB, free: 10.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.0113, allocations: 1.63 MB / 0.9903 GB, free: 8.609 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.107e-05/0.01137, allocations: 103.4 kB / 0.9904 GB, free: 8.488 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.01141, allocations: 15.31 kB / 0.9904 GB, free: 8.477 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.01147, allocations: 44.48 kB / 0.9904 GB, free: 8.434 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/0.01147, allocations: 0 / 0.9904 GB, free: 8.434 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.0289, allocations: 3.462 MB / 0.9938 GB, free: 5.199 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.059, allocations: 8.391 kB / 0.9938 GB, free: 5.195 MB / 0.948 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 & 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/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] "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: 11.203032008372247]