Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.88 kB / 1.056 GB, free: 2.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.302, allocations: 160.7 MB / 1.213 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004692/0.3067, allocations: 2.385 MB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00265/0.3094, allocations: 1.41 MB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.3096, allocations: 4 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.3104, allocations: 218.8 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.3107, allocations: 75.34 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.3112, allocations: 115.7 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005857/0.3118, allocations: 338.8 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3119, allocations: 32.97 kB / 1.217 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.3122, allocations: 131.5 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003686/0.3126, allocations: 191.4 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3127, allocations: 32 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.3129, allocations: 67.97 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3131, allocations: 119.6 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.3133, allocations: 171.1 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.314, allocations: 0.4903 MB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.3141, allocations: 4 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3141, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.3141, allocations: 0 / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001801/0.3159, allocations: 0.7158 MB / 1.219 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.3159, allocations: 12.03 kB / 1.219 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.254e-05/0.316, allocations: 46.73 kB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.317, allocations: 152.4 kB / 1.219 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.3176, allocations: 354.6 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.3178, allocations: 84.19 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.3178, allocations: 12.38 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.3186, allocations: 303.9 kB / 1.22 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3186, allocations: 0 / 1.22 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.3187, allocations: 4 kB / 1.22 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3187, allocations: 4 kB / 1.22 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.3198, allocations: 421 kB / 1.221 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.3218, allocations: 0.8548 MB / 1.221 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.3225, allocations: 262.3 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.323, allocations: 200.7 kB / 1.222 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.3231, allocations: 7.984 kB / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.3231, allocations: 30.56 kB / 1.222 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 2.194e-06/0.3231, allocations: 7.938 kB / 1.222 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.001892/0.325, allocations: 0.6516 MB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3251, allocations: 67.27 kB / 1.223 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.3257, allocations: 417.7 kB / 1.223 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.3257, allocations: 29.7 kB / 1.223 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.3259, allocations: 184 kB / 1.223 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/0.326, allocations: 59.48 kB / 1.223 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.3261, allocations: 41.69 kB / 1.223 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3263, allocations: 350.8 kB / 1.224 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.3269, allocations: 191.9 kB / 1.224 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.3274, allocations: 231.3 kB / 1.224 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3285, allocations: 374.3 kB / 1.224 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3285, allocations: 0 / 1.224 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001254/0.3297, allocations: 467.3 kB / 1.225 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.3297, allocations: 4 kB / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3298, allocations: 0 / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3298, allocations: 0 / 1.225 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.3302, allocations: 71.86 kB / 1.225 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3303, allocations: 0 / 1.225 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.3306, allocations: 43.84 kB / 1.225 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3307, allocations: 7.984 kB / 1.225 GB, free: 4.77 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002768/0.3309, allocations: 165.8 kB / 1.225 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.3311, allocations: 35.77 kB / 1.225 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.91e-05/0.3312, allocations: 43.59 kB / 1.225 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3312, allocations: 3.938 kB / 1.225 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3312, allocations: 4 kB / 1.225 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3312, allocations: 0 / 1.225 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.3319, allocations: 482.8 kB / 1.226 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3319, allocations: 7.984 kB / 1.226 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.3323, allocations: 59.92 kB / 1.226 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.3323, allocations: 0 / 1.226 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3324, allocations: 0 / 1.226 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3324, allocations: 7.938 kB / 1.226 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3324, allocations: 4 kB / 1.226 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.3337, allocations: 0.5537 MB / 1.226 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3338, allocations: 112.9 kB / 1.226 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.3339, allocations: 4 kB / 1.226 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3342, allocations: 39.88 kB / 1.226 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3343, allocations: 27.88 kB / 1.226 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3344, allocations: 4 kB / 1.226 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004732/0.3348, allocations: 311.1 kB / 1.227 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3348, allocations: 0 / 1.227 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004083/0.3353, allocations: 71.89 kB / 1.227 GB, free: 2.773 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001717/0.337, allocations: 1.097 MB / 1.228 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.3382, allocations: 430.2 kB / 1.228 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3382, allocations: 0 / 1.228 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.3387, allocations: 215.8 kB / 1.228 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3392, allocations: 57.41 kB / 1.229 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.3464, allocations: 4.145 MB / 1.233 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3469, allocations: 0.7948 MB / 1.233 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.3472, allocations: 58.27 kB / 1.233 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.3474, allocations: 107.4 kB / 1.234 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of SimCode: time 1.362e-06/0.3474, allocations: 4 kB / 1.234 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.3826, allocations: 7.966 MB / 1.241 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.806/9.189, allocations: 6.516 kB / 1.241 GB, free: 3.977 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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: 15.322881363332272]