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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001147/0.001147, allocations: 106.3 kB / 16.27 MB, free: 5.969 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.001039/0.001039, allocations: 194.9 kB / 17.2 MB, free: 5.594 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 469.4 MB / 0.7426 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 68.11 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3284, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003801/0.3322, allocations: 2.375 MB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.3343, allocations: 1.402 MB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.3346, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.3353, allocations: 202.8 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.3355, allocations: 79.28 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.3359, allocations: 119.7 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.3363, allocations: 326.8 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3365, allocations: 52.72 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000256/0.3368, allocations: 127.5 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.3371, allocations: 191.2 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.848e-05/0.3371, allocations: 32 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.3373, allocations: 67.97 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.3375, allocations: 115.7 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3377, allocations: 179 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005416/0.3382, allocations: 494.8 kB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3382, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3382, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.3383, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8419 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.001378/0.3396, allocations: 0.6965 MB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3397, allocations: 8.625 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.3406, allocations: 152.2 kB / 1.071 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.3411, allocations: 350.2 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.3412, allocations: 88.17 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.3412, allocations: 12.38 kB / 1.071 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.342, allocations: 303.4 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.342, allocations: 3.938 kB / 1.071 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.342, allocations: 8 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.342, allocations: 0 / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3432, allocations: 424.3 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.3452, allocations: 0.8474 MB / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.3459, allocations: 278.3 kB / 1.073 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/0.3465, allocations: 212.7 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.3466, allocations: 3.984 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.3466, allocations: 42.56 kB / 1.073 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/0.3466, allocations: 0 / 1.073 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001938/0.3486, allocations: 0.6455 MB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.3486, allocations: 63.28 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.3492, allocations: 417.7 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3492, allocations: 29.7 kB / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3494, allocations: 188 kB / 1.074 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/0.3495, allocations: 55.11 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3496, allocations: 49.69 kB / 1.075 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3498, allocations: 342.8 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.3504, allocations: 191.9 kB / 1.075 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.3509, allocations: 233.2 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.352, allocations: 368.5 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.352, allocations: 4 kB / 1.076 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001218/0.3532, allocations: 466.1 kB / 1.076 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3533, allocations: 4 kB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3533, allocations: 0 / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.3533, allocations: 8 kB / 1.076 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.3538, allocations: 55.92 kB / 1.076 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3538, allocations: 7.938 kB / 1.076 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.3542, allocations: 35.86 kB / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3542, allocations: 7.984 kB / 1.076 GB, free: 2.508 MB / 0.8419 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.0002116/0.3545, allocations: 172.5 kB / 1.076 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.3545, allocations: 35.53 kB / 1.076 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/0.3546, allocations: 43.59 kB / 1.076 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3546, allocations: 4 kB / 1.076 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3547, allocations: 3.938 kB / 1.076 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.3553, allocations: 474.9 kB / 1.077 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3553, allocations: 3.938 kB / 1.077 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.3557, allocations: 63.86 kB / 1.077 GB, free: 1.664 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3557, allocations: 4 kB / 1.077 GB, free: 1.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.3557, allocations: 12 kB / 1.077 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3558, allocations: 0 / 1.077 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3558, allocations: 7.875 kB / 1.077 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.3569, allocations: 0.548 MB / 1.077 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.3571, allocations: 116.6 kB / 1.078 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.3571, allocations: 15.97 kB / 1.078 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/0.3575, allocations: 31.95 kB / 1.078 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3576, allocations: 23.91 kB / 1.078 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3576, allocations: 8 kB / 1.078 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003146/0.3579, allocations: 311.1 kB / 1.078 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3579, allocations: 0 / 1.078 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003298/0.3583, allocations: 64 kB / 1.078 GB, free: 0.5039 MB / 0.8419 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.0001472/0.3584, allocations: 103.2 kB / 1.078 GB, free: 400 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.527/0.8854, allocations: 449.8 kB / 1.079 GB, free: 23.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8855, allocations: 0.5938 kB / 1.079 GB, free: 23.12 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.8862, allocations: 227 kB / 1.079 GB, free: 23.12 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.8868, allocations: 44.36 kB / 1.079 GB, free: 23.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.8884, allocations: 0.7169 MB / 1.08 GB, free: 22.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.8888, allocations: 0.7942 MB / 1.08 GB, free: 22.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.889, allocations: 29.14 kB / 1.08 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.889, allocations: 0.8125 kB / 1.08 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.01066/0.8997, allocations: 4.953 MB / 1.085 GB, free: 21.87 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches