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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001295/0.001295, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001384/0.001384, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5271, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002709/0.5298, allocations: 2.42 MB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.5312, allocations: 1.391 MB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.661e-05/0.5313, allocations: 1.406 kB / 0.9528 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.5318, allocations: 189.5 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.5319, allocations: 69.83 kB / 0.953 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.5321, allocations: 100.7 kB / 0.9531 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.5323, allocations: 316 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.5324, allocations: 53.97 kB / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.5326, allocations: 120 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.5328, allocations: 184.2 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.5328, allocations: 21.16 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.533, allocations: 57.62 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.5331, allocations: 116.7 kB / 0.9539 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.5332, allocations: 163.2 kB / 0.9541 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.5335, allocations: 484.1 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5335, allocations: 0 / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.5335, allocations: 0 / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5335, allocations: 1.312 kB / 0.9546 GB, free: 4.848 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.0009879/0.5345, allocations: 0.7052 MB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.5346, allocations: 9.781 kB / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.5346, allocations: 50.77 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.5355, allocations: 142.9 kB / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.5358, allocations: 357.7 kB / 0.9558 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.5359, allocations: 82.19 kB / 0.9559 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.5359, allocations: 11.44 kB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.5366, allocations: 300.7 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.5366, allocations: 1.219 kB / 0.9562 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.5366, allocations: 5.219 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5366, allocations: 2.344 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.5376, allocations: 422.1 kB / 0.9566 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.5389, allocations: 0.85 MB / 0.9574 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/0.5395, allocations: 276.5 kB / 0.9577 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004687/0.54, allocations: 225.3 kB / 0.9579 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.5401, allocations: 5.375 kB / 0.9579 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.24e-05/0.5401, allocations: 39.84 kB / 0.9579 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.5401, allocations: 0 / 0.9579 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001575/0.5417, allocations: 0.6463 MB / 0.9586 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.5417, allocations: 56.56 kB / 0.9586 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.5421, allocations: 426.6 kB / 0.959 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5421, allocations: 30.77 kB / 0.959 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.5422, allocations: 181.4 kB / 0.9592 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.5423, allocations: 66.09 kB / 0.9593 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.5424, allocations: 36.33 kB / 0.9593 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.5424, allocations: 348.2 kB / 0.9596 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.5429, allocations: 195.8 kB / 0.9598 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.5434, allocations: 227.7 kB / 0.9601 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008811/0.5443, allocations: 370 kB / 0.9604 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5443, allocations: 0 / 0.9604 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001039/0.5454, allocations: 469.9 kB / 0.9609 GB, free: 296 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5454, allocations: 9.094 kB / 0.9609 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5454, allocations: 0 / 0.9609 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5454, allocations: 1.125 kB / 0.9609 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.5459, allocations: 63.38 kB / 0.9609 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5459, allocations: 7.969 kB / 0.9609 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.5462, allocations: 42.67 kB / 0.961 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.5462, allocations: 4.375 kB / 0.961 GB, free: 236 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.0001476/0.5464, allocations: 173.1 kB / 0.9611 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.5465, allocations: 32.31 kB / 0.9612 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.5465, allocations: 39.56 kB / 0.9612 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5465, allocations: 10.11 kB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5465, allocations: 0 / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5466, allocations: 1.062 kB / 0.9612 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.5471, allocations: 470.3 kB / 0.9617 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5471, allocations: 2.781 kB / 0.9617 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.5475, allocations: 64.98 kB / 0.9617 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5475, allocations: 1.531 kB / 0.9617 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.5476, allocations: 9.672 kB / 0.9617 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5476, allocations: 3.938 kB / 0.9617 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5476, allocations: 1.375 kB / 0.9617 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.5487, allocations: 0.5528 MB / 0.9623 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.5488, allocations: 119.1 kB / 0.9624 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.5489, allocations: 5.125 kB / 0.9624 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.5492, allocations: 32.52 kB / 0.9624 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.5493, allocations: 33.77 kB / 0.9625 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.5494, allocations: 7.625 kB / 0.9625 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003074/0.5497, allocations: 308.2 kB / 0.9628 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5497, allocations: 0 / 0.9628 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003271/0.55, allocations: 62.16 kB / 0.9628 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.001438/0.5514, allocations: 1.103 MB / 0.9639 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.5526, allocations: 439.5 kB / 0.9643 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5526, allocations: 0 / 0.9643 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.5531, allocations: 232.5 kB / 0.9645 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.0004261/0.5536, allocations: 49.8 kB / 0.9646 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/0.56, allocations: 4.234 MB / 0.9687 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.5604, allocations: 0.8053 MB / 0.9695 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002876/0.5607, allocations: 61.02 kB / 0.9696 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5609, allocations: 101.8 kB / 0.9697 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/0.5609, allocations: 0 / 0.9697 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3363/0.8972, allocations: 7.477 MB / 0.977 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/0.8975, allocations: 223.9 kB / 0.9772 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.92, allocations: 4.062 kB / 0.9772 GB, free: 4.961 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 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.mat","/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