Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_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.00168/0.00168, allocations: 108 kB / 15.6 MB, free: 132 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.001994/0.001994, allocations: 195.5 kB / 16.53 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 63.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5287/0.53, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002865/0.5329, allocations: 2.354 MB / 0.952 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.5344, allocations: 1.409 MB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.931e-05/0.5345, allocations: 3.625 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.535, allocations: 201.3 kB / 0.9536 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.5351, allocations: 80.97 kB / 0.9537 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.5354, allocations: 119.7 kB / 0.9538 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.5356, allocations: 324.9 kB / 0.9541 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.5358, allocations: 46.19 kB / 0.9541 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.5359, allocations: 138.3 kB / 0.9543 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.5361, allocations: 187 kB / 0.9545 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.5362, allocations: 31.41 kB / 0.9545 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.5363, allocations: 65.31 kB / 0.9545 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.5365, allocations: 120 kB / 0.9547 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.5366, allocations: 174.2 kB / 0.9548 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.537, allocations: 491.9 kB / 0.9553 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.537, allocations: 0 / 0.9553 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.537, allocations: 0 / 0.9553 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.537, allocations: 3.938 kB / 0.9553 GB, free: 4.863 MB / 0.7169 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.001076/0.5381, allocations: 0.7041 MB / 0.956 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5381, allocations: 10.03 kB / 0.956 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.5382, allocations: 55.33 kB / 0.9561 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.5391, allocations: 146.5 kB / 0.9562 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.5395, allocations: 348.3 kB / 0.9565 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.5396, allocations: 83.12 kB / 0.9566 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.5396, allocations: 16.67 kB / 0.9566 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.5404, allocations: 304.1 kB / 0.9569 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5404, allocations: 0 / 0.9569 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.5404, allocations: 5.375 kB / 0.9569 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5404, allocations: 2.75 kB / 0.9569 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5416, allocations: 422.6 kB / 0.9573 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.543, allocations: 0.8613 MB / 0.9582 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/0.5436, allocations: 272.9 kB / 0.9584 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.5442, allocations: 212.8 kB / 0.9586 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.5442, allocations: 5.062 kB / 0.9586 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.5442, allocations: 36.69 kB / 0.9587 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.5442, allocations: 0 / 0.9587 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001734/0.546, allocations: 0.6539 MB / 0.9593 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.546, allocations: 57.62 kB / 0.9594 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.5464, allocations: 417.6 kB / 0.9598 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.5464, allocations: 30.77 kB / 0.9598 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.5465, allocations: 182.5 kB / 0.96 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.5466, allocations: 61.45 kB / 0.96 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.5467, allocations: 40.44 kB / 0.9601 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.5468, allocations: 348 kB / 0.9604 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.5473, allocations: 192.1 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.5479, allocations: 230.3 kB / 0.9608 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.5488, allocations: 373.4 kB / 0.9611 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5488, allocations: 4 kB / 0.9611 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001149/0.55, allocations: 462 kB / 0.9616 GB, free: 312 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.55, allocations: 8.625 kB / 0.9616 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.55, allocations: 1.094 kB / 0.9616 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.5501, allocations: 0.9688 kB / 0.9616 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.5505, allocations: 70.33 kB / 0.9617 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5505, allocations: 5.359 kB / 0.9617 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.5509, allocations: 43.39 kB / 0.9617 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.5509, allocations: 7.484 kB / 0.9617 GB, free: 244 kB / 0.7169 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.0001426/0.5511, allocations: 164.8 kB / 0.9619 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.5511, allocations: 35.91 kB / 0.9619 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.5512, allocations: 40.09 kB / 0.962 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5512, allocations: 10.34 kB / 0.962 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.5512, allocations: 0 / 0.962 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5512, allocations: 1.281 kB / 0.962 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005308/0.5518, allocations: 485.9 kB / 0.9624 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5518, allocations: 1.156 kB / 0.9624 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.5522, allocations: 66.39 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5523, allocations: 1.25 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.5523, allocations: 1.625 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5523, allocations: 5.031 kB / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5523, allocations: 0 / 0.9625 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.5536, allocations: 0.5563 MB / 0.963 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.161e-05/0.5537, allocations: 112.5 kB / 0.9631 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.5537, allocations: 9.078 kB / 0.9632 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.5541, allocations: 36.02 kB / 0.9632 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.5542, allocations: 25.38 kB / 0.9632 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.5543, allocations: 4.219 kB / 0.9632 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000316/0.5546, allocations: 315.8 kB / 0.9635 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5546, allocations: 0 / 0.9635 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003401/0.5549, allocations: 62.06 kB / 0.9636 GB, free: 14.85 MB / 0.7325 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.001524/0.5565, allocations: 1.094 MB / 0.9646 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.5577, allocations: 451.7 kB / 0.9651 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5577, allocations: 0 / 0.9651 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.5583, allocations: 228.6 kB / 0.9653 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.5588, allocations: 56.14 kB / 0.9653 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006618/0.5654, allocations: 4.171 MB / 0.9694 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.5658, allocations: 0.8014 MB / 0.9702 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.5661, allocations: 64.45 kB / 0.9703 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.5664, allocations: 103.2 kB / 0.9704 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.5664, allocations: 3.938 kB / 0.9704 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.5904, allocations: 7.795 MB / 0.978 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/8.044, allocations: 14.5 kB / 0.978 GB, free: 4.531 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches