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.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001227/0.001226, allocations: 190.4 kB / 16.25 MB, free: 6.633 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.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5132, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003607/0.5169, allocations: 2.43 MB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.5186, allocations: 1.383 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.5188, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.5193, allocations: 195 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.5194, allocations: 63.47 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.5197, allocations: 99.84 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.52, allocations: 330.8 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.5201, allocations: 48.72 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.5203, allocations: 135.5 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.5205, allocations: 191.3 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.5206, allocations: 32 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.5207, allocations: 71.91 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.5208, allocations: 115.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.521, allocations: 179 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.5214, allocations: 488.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.5214, allocations: 4 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5214, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5214, allocations: 0 / 1.023 GB, free: 12.92 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.001143/0.5226, allocations: 0.7004 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5226, allocations: 8.031 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.5227, allocations: 54.73 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.5235, allocations: 148.3 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.5239, allocations: 350.2 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.563e-05/0.524, allocations: 84.19 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.5241, allocations: 16.36 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.5248, allocations: 304.4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.5248, allocations: 3.938 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.5248, allocations: 8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5249, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5259, allocations: 424.3 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.5274, allocations: 0.8473 MB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.5281, allocations: 278.3 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.5286, allocations: 212.7 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.5287, allocations: 11.91 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5287, allocations: 38.56 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.5287, allocations: 0 / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001758/0.5305, allocations: 0.651 MB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.5305, allocations: 59.34 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.5309, allocations: 417.7 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.531, allocations: 29.7 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.5311, allocations: 184 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.5312, allocations: 59.05 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5313, allocations: 45.69 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5314, allocations: 346.8 kB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.532, allocations: 191.9 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.5325, allocations: 232.7 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009514/0.5335, allocations: 366.6 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5335, allocations: 4 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00111/0.5346, allocations: 464.8 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5346, allocations: 5.406 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5346, allocations: 4 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.5346, allocations: 4 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.5351, allocations: 63.86 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5351, allocations: 4 kB / 1.029 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.5354, allocations: 39.8 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.5355, allocations: 7.984 kB / 1.029 GB, free: 6.098 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.0001646/0.5356, allocations: 169.8 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.5357, allocations: 31.62 kB / 1.029 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.936e-05/0.5358, allocations: 39.59 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5358, allocations: 7.938 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.5358, allocations: 0 / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5358, allocations: 0 / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.5363, allocations: 478.9 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5363, allocations: 0 / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.5367, allocations: 63.86 kB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5367, allocations: 4 kB / 1.03 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.5367, allocations: 12 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.5368, allocations: 7.875 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.5368, allocations: 0 / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.5379, allocations: 0.5495 MB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.538, allocations: 112.6 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.5381, allocations: 8 kB / 1.03 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.5384, allocations: 39.88 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.5385, allocations: 19.97 kB / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.5385, allocations: 4 kB / 1.03 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002845/0.5388, allocations: 319.1 kB / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5388, allocations: 0 / 1.031 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003102/0.5392, allocations: 64 kB / 1.031 GB, free: 4.098 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.001381/0.5405, allocations: 1.104 MB / 1.032 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.5417, allocations: 445.5 kB / 1.032 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5417, allocations: 0 / 1.032 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/0.5422, allocations: 227.8 kB / 1.033 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.5426, allocations: 56.05 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.5487, allocations: 4.248 MB / 1.037 GB, free: 13.94 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.549, allocations: 0.7986 MB / 1.037 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002781/0.5493, allocations: 62.3 kB / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.5495, allocations: 103.4 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.5496, allocations: 0 / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.459/3.008, allocations: 7.708 MB / 1.045 GB, free: 5.465 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/3.008, allocations: 222.1 kB / 1.045 GB, free: 5.215 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/5.122, allocations: 0 / 1.045 GB, free: 5.215 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