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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 193.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4716, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00305/0.4747, allocations: 2.438 MB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.4764, allocations: 1.391 MB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.4765, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.477, allocations: 195 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.4771, allocations: 59.48 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.4774, allocations: 99.88 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.4777, allocations: 334.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4778, allocations: 40.72 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.478, allocations: 119.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.4782, allocations: 191.2 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.4783, allocations: 20 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.4784, allocations: 59.95 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.4785, allocations: 103.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.4786, allocations: 167.1 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003769/0.479, allocations: 480.7 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.479, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.51e-07/0.479, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.479, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 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.00109/0.4801, allocations: 0.7083 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4802, allocations: 15.97 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.809e-05/0.4802, allocations: 50.73 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007926/0.481, allocations: 140.3 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.4814, allocations: 358.2 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.4815, allocations: 84.19 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.4816, allocations: 12.38 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.4822, allocations: 300.4 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.4823, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.4823, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.4823, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009849/0.4833, allocations: 416.3 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.4847, allocations: 0.8629 MB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.4853, allocations: 274.3 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.4858, allocations: 216.7 kB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.4858, allocations: 7.938 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4858, allocations: 30.56 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.404e-06/0.4858, allocations: 4 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001572/0.4874, allocations: 0.6479 MB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.4874, allocations: 59.28 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.4878, allocations: 425.6 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.4879, allocations: 33.7 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.488, allocations: 180 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/0.4881, allocations: 59.11 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4882, allocations: 33.7 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4883, allocations: 350.8 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.4888, allocations: 199.8 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.4893, allocations: 227.3 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008539/0.4901, allocations: 367 kB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4901, allocations: 0 / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001033/0.4912, allocations: 469.7 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4912, allocations: 8 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4912, allocations: 4 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.4912, allocations: 48 / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.4916, allocations: 75.84 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.4916, allocations: 0 / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.4919, allocations: 39.8 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.492, allocations: 11.98 kB / 1.029 GB, free: 6.266 MB / 0.7794 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.0001597/0.4922, allocations: 161.8 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.4922, allocations: 35.53 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.4923, allocations: 47.58 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4923, allocations: 3.938 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4923, allocations: 0 / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4923, allocations: 0 / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.4928, allocations: 478.8 kB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4928, allocations: 0 / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.4932, allocations: 55.94 kB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4932, allocations: 4 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.4932, allocations: 3.984 kB / 1.029 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4932, allocations: 3.938 kB / 1.029 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4932, allocations: 7.938 kB / 1.029 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4943, allocations: 0.5513 MB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.4944, allocations: 116.6 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.4944, allocations: 4 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.4948, allocations: 31.89 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.4948, allocations: 27.95 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4949, allocations: 4 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002774/0.4952, allocations: 311.1 kB / 1.03 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4952, allocations: 0 / 1.03 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003021/0.4955, allocations: 64 kB / 1.031 GB, free: 4.285 MB / 0.7794 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.001282/0.4968, allocations: 1.111 MB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009809/0.4978, allocations: 431.6 kB / 1.032 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4978, allocations: 0 / 1.032 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.4983, allocations: 233.2 kB / 1.032 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4987, allocations: 49.48 kB / 1.032 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.5045, allocations: 4.249 MB / 1.036 GB, free: 14.13 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.5048, allocations: 0.7947 MB / 1.037 GB, free: 13.31 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.5051, allocations: 62.25 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.5053, allocations: 103.4 kB / 1.037 GB, free: 13.15 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.5053, allocations: 0 / 1.037 GB, free: 13.15 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.053/2.558, allocations: 7.487 MB / 1.045 GB, free: 5.855 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/2.558, allocations: 224.5 kB / 1.045 GB, free: 5.605 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/5.299, allocations: 1.875 kB / 1.045 GB, free: 5.605 MB / 0.795 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches