Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001542/0.001542, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 12 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6255, allocations: 153.6 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002488/0.628, allocations: 1.944 MB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.6296, allocations: 1.248 MB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.6298, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.6303, allocations: 187.2 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.6304, allocations: 75.78 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.6306, allocations: 87.77 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.6309, allocations: 215.6 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.631, allocations: 40.72 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.6312, allocations: 127.5 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.6315, allocations: 167.5 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.6315, allocations: 20 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.6316, allocations: 47.97 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.6317, allocations: 111.7 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.6318, allocations: 85.52 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.6321, allocations: 369 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6322, allocations: 0 / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6322, allocations: 0 / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.6322, allocations: 0 / 1.025 GB, free: 12.44 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.001123/0.6333, allocations: 0.6693 MB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6334, allocations: 11.98 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.6343, allocations: 175.4 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.6347, allocations: 337.2 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.6348, allocations: 91.56 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.6349, allocations: 12 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.6356, allocations: 315.3 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.6357, allocations: 0 / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.6357, allocations: 8 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.6357, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.6368, allocations: 460.4 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.6385, allocations: 0.8784 MB / 1.028 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.6392, allocations: 294.4 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.6392, allocations: 0 / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.6392, allocations: 42.45 kB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.6392, allocations: 0 / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001833/0.6411, allocations: 0.7099 MB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.6411, allocations: 51.41 kB / 1.029 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.6416, allocations: 417.6 kB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.6416, allocations: 33.7 kB / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.6417, allocations: 184 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.6418, allocations: 63.09 kB / 1.03 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.6418, allocations: 0 / 1.03 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.642, allocations: 346.8 kB / 1.03 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.6425, allocations: 219.8 kB / 1.031 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.6431, allocations: 259.2 kB / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.6437, allocations: 201.4 kB / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6437, allocations: 0 / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001219/0.6449, allocations: 0.4942 MB / 1.031 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6449, allocations: 8 kB / 1.031 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.645, allocations: 7.953 kB / 1.031 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.645, allocations: 0 / 1.031 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.6455, allocations: 75.86 kB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.6455, allocations: 4 kB / 1.032 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.6458, allocations: 51.8 kB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.6459, allocations: 11.98 kB / 1.032 GB, free: 5.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.6461, allocations: 161.8 kB / 1.032 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.6462, allocations: 31.62 kB / 1.032 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.6462, allocations: 39.59 kB / 1.032 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6463, allocations: 11.98 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6463, allocations: 4 kB / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6463, allocations: 0 / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.6468, allocations: 474.9 kB / 1.032 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6468, allocations: 0 / 1.032 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.6472, allocations: 75.86 kB / 1.032 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6472, allocations: 4 kB / 1.032 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.6473, allocations: 3.953 kB / 1.032 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6473, allocations: 4 kB / 1.032 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6473, allocations: 0 / 1.032 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.6485, allocations: 0.6022 MB / 1.033 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.6486, allocations: 112.6 kB / 1.033 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.6487, allocations: 11.92 kB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.6491, allocations: 47.91 kB / 1.033 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/0.6492, allocations: 27.95 kB / 1.033 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.6492, allocations: 4 kB / 1.033 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003022/0.6495, allocations: 303.1 kB / 1.033 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6495, allocations: 0 / 1.033 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003454/0.6499, allocations: 68 kB / 1.034 GB, free: 3.797 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001282/0.65, allocations: 99.25 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.6512, allocations: 479.6 kB / 1.034 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6512, allocations: 0 / 1.034 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005971/0.6518, allocations: 251.7 kB / 1.034 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.6522, allocations: 50.03 kB / 1.034 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.6535, allocations: 0.7607 MB / 1.035 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.6538, allocations: 0.7989 MB / 1.036 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.6541, allocations: 62.25 kB / 1.036 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.6543, allocations: 27.42 kB / 1.036 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6543, allocations: 0 / 1.036 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of Templates: time 0.00706/0.6613, allocations: 3.856 MB / 1.04 GB, free: 13.43 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches