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.00133/0.00133, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.399/2.399, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5022, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003247/0.5055, allocations: 2.392 MB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.5073, allocations: 1.402 MB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.5074, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.5079, allocations: 202.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.5081, allocations: 75.34 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.5084, allocations: 115.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.5087, allocations: 334.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.5088, allocations: 44.67 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.509, allocations: 127.5 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.5092, allocations: 179.4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.494e-05/0.5093, allocations: 32 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.5095, allocations: 75.95 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5096, allocations: 123.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.5097, allocations: 175 kB / 1.023 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.5102, allocations: 496.7 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5102, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5102, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.5102, allocations: 0 / 1.023 GB, free: 12.76 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.001116/0.5113, allocations: 0.6984 MB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.5114, allocations: 12.03 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.5114, allocations: 50.73 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.5122, allocations: 144.3 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.5126, allocations: 358.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/0.5127, allocations: 80.19 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.5128, allocations: 16.38 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.5135, allocations: 300.4 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.5135, allocations: 0 / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.5135, allocations: 8 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5135, allocations: 0 / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.5146, allocations: 417.3 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.516, allocations: 0.859 MB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.5167, allocations: 274.3 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.5172, allocations: 220.7 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5172, allocations: 0 / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.5173, allocations: 38.5 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.5173, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001694/0.519, allocations: 0.6432 MB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.519, allocations: 59.34 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.5194, allocations: 421.6 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.5195, allocations: 37.64 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5196, allocations: 184 kB / 1.028 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.5197, allocations: 63.09 kB / 1.028 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.5198, allocations: 33.7 kB / 1.028 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5199, allocations: 350.8 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.5204, allocations: 199.8 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.521, allocations: 231.8 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.5219, allocations: 370.5 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.522, allocations: 0 / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001105/0.5231, allocations: 466.9 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5231, allocations: 4 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5231, allocations: 0 / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5231, allocations: 4 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.5236, allocations: 67.8 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5236, allocations: 4 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.5239, allocations: 39.8 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.5239, allocations: 8 kB / 1.029 GB, free: 5.945 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.0001601/0.5241, allocations: 161.8 kB / 1.03 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.5242, allocations: 31.62 kB / 1.03 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.123e-05/0.5242, allocations: 43.58 kB / 1.03 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5243, allocations: 7.938 kB / 1.03 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5243, allocations: 4 kB / 1.03 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5243, allocations: 0 / 1.03 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.5248, allocations: 470.9 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5248, allocations: 3.938 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003984/0.5252, allocations: 63.92 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5252, allocations: 0 / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.5252, allocations: 7.984 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5252, allocations: 3.938 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5252, allocations: 0 / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5264, allocations: 0.5534 MB / 1.031 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.5265, allocations: 116.6 kB / 1.031 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.5265, allocations: 11.94 kB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.5269, allocations: 39.94 kB / 1.031 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.527, allocations: 23.95 kB / 1.031 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.527, allocations: 7.984 kB / 1.031 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002852/0.5273, allocations: 311.1 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5273, allocations: 0 / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002998/0.5276, allocations: 64 kB / 1.031 GB, free: 3.953 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.001408/0.529, allocations: 1.098 MB / 1.032 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.5301, allocations: 453.4 kB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5301, allocations: 0 / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.5307, allocations: 235.8 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.5311, allocations: 49.48 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/0.5371, allocations: 4.174 MB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.5375, allocations: 0.8025 MB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002478/0.5377, allocations: 58.27 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.5379, allocations: 103.4 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.5379, allocations: 0 / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3183/0.8562, allocations: 7.803 MB / 1.046 GB, free: 5.25 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.719, allocations: 11.14 kB / 1.046 GB, free: 5.242 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