Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_11_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.004705/0.004705, allocations: 95.86 kB / 15.73 MB, free: 6.484 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.001381/0.001381, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.88 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003161/0.2497, allocations: 2.394 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.2516, allocations: 1.39 MB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.2517, allocations: 0 / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005101/0.2522, allocations: 210.9 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.2524, allocations: 71.34 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2527, allocations: 119.7 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.253, allocations: 326.8 kB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2531, allocations: 60.55 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.2533, allocations: 123.5 kB / 1.225 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.2536, allocations: 187.4 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.2536, allocations: 32 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.2538, allocations: 67.97 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2539, allocations: 131.6 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.254, allocations: 175 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.2545, allocations: 490.2 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2545, allocations: 0 / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2545, allocations: 0 / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2546, allocations: 0 / 1.226 GB, free: 8.574 MB / 0.9825 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.001124/0.2557, allocations: 0.7197 MB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.2557, allocations: 8.031 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.2558, allocations: 54.73 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.2566, allocations: 144.5 kB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.257, allocations: 362.5 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.424e-05/0.2571, allocations: 80.19 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.2571, allocations: 20.36 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.2578, allocations: 303.8 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2578, allocations: 0 / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.2579, allocations: 4 kB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2579, allocations: 4 kB / 1.227 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.2589, allocations: 424.4 kB / 1.228 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.2604, allocations: 0.8549 MB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.261, allocations: 278.4 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005192/0.2616, allocations: 214.8 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.2616, allocations: 4 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2616, allocations: 38.56 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.2616, allocations: 0 / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001693/0.2633, allocations: 0.6535 MB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2634, allocations: 55.34 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/0.2638, allocations: 421.7 kB / 1.23 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.2638, allocations: 29.7 kB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.264, allocations: 180 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.264, allocations: 63.47 kB / 1.23 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.2642, allocations: 45.69 kB / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2643, allocations: 350.8 kB / 1.231 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.2648, allocations: 191.9 kB / 1.231 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005405/0.2654, allocations: 229.2 kB / 1.231 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.2663, allocations: 368.6 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2664, allocations: 3.938 kB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001134/0.2675, allocations: 467.3 kB / 1.232 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2675, allocations: 4 kB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2675, allocations: 8 kB / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2675, allocations: 0 / 1.232 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.268, allocations: 67.86 kB / 1.232 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.268, allocations: 0 / 1.232 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2683, allocations: 39.84 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2683, allocations: 11.92 kB / 1.232 GB, free: 1.715 MB / 0.9825 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.0001664/0.2685, allocations: 172.3 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.2686, allocations: 35.77 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.2686, allocations: 43.59 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2686, allocations: 3.938 kB / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2686, allocations: 0 / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2687, allocations: 0 / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.2692, allocations: 478.9 kB / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2692, allocations: 0 / 1.233 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.2696, allocations: 67.86 kB / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2696, allocations: 0 / 1.233 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.2696, allocations: 8 kB / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2696, allocations: 7.875 kB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2696, allocations: 0 / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2708, allocations: 0.5598 MB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.2709, allocations: 112.8 kB / 1.234 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.2709, allocations: 4 kB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.2713, allocations: 39.88 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.2714, allocations: 23.97 kB / 1.234 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.2714, allocations: 8 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003115/0.2717, allocations: 307.2 kB / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2717, allocations: 0 / 1.234 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002851/0.272, allocations: 67.95 kB / 1.234 GB, free: 15.71 MB / 0.9981 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.001431/0.2734, allocations: 1.099 MB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.2745, allocations: 437.3 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2745, allocations: 0 / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.2751, allocations: 227.8 kB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.2755, allocations: 59.53 kB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.2815, allocations: 4.136 MB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.2819, allocations: 0.7909 MB / 1.241 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.2821, allocations: 62.3 kB / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.2823, allocations: 111.4 kB / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.2824, allocations: 0 / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.347/2.629, allocations: 7.926 MB / 1.249 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.97/24.6, allocations: 13.91 kB / 1.249 GB, free: 0.9414 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches