Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_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_10_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.001542/0.001542, 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.001151/0.001151, allocations: 193.7 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7104 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5964/0.5977, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003588/0.6013, allocations: 2.376 MB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.6034, allocations: 1.406 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.6035, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.604, allocations: 206.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.6042, allocations: 71.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.6045, allocations: 123.7 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.6048, allocations: 334.7 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.605, allocations: 48.72 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.6052, allocations: 127.5 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.6054, allocations: 183.4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.6055, allocations: 32 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.6056, allocations: 63.97 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.6058, allocations: 123.6 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.6059, allocations: 171.1 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.6064, allocations: 0.4886 MB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6064, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6064, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6064, allocations: 4 kB / 1.023 GB, free: 12.75 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.001218/0.6077, allocations: 0.7004 MB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6077, allocations: 8.031 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000902/0.6086, allocations: 148.3 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004918/0.6091, allocations: 346.2 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.6093, allocations: 84.19 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.6093, allocations: 16.31 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/0.6101, allocations: 300.6 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6102, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.6102, allocations: 12 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.6102, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.6114, allocations: 413.3 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.613, allocations: 0.859 MB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/0.6137, allocations: 280.5 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.6143, allocations: 216.7 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.6144, allocations: 0 / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.6144, allocations: 34.56 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 2.966e-06/0.6144, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001842/0.6162, allocations: 0.6456 MB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6163, allocations: 63.34 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.6167, allocations: 421.6 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.6168, allocations: 29.7 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.6169, allocations: 184 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.617, allocations: 59.09 kB / 1.028 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.6171, allocations: 37.7 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6173, allocations: 346.8 kB / 1.028 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000534/0.6178, allocations: 199.8 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.6184, allocations: 228.4 kB / 1.028 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.6194, allocations: 377.8 kB / 1.029 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6194, allocations: 3.938 kB / 1.029 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001175/0.6206, allocations: 471 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6206, allocations: 4 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6206, allocations: 0 / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.6206, allocations: 4 kB / 1.029 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.6211, allocations: 63.88 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.6211, allocations: 11.92 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.6215, allocations: 39.8 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.6215, allocations: 4 kB / 1.029 GB, free: 5.996 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.6217, allocations: 162.5 kB / 1.029 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.6218, allocations: 31.62 kB / 1.029 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.6219, allocations: 43.58 kB / 1.029 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6219, allocations: 8 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6219, allocations: 3.938 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6219, allocations: 0 / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.6224, allocations: 470.9 kB / 1.03 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.6224, allocations: 3.984 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.6229, allocations: 63.86 kB / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6229, allocations: 0 / 1.03 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.6229, allocations: 7.984 kB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6229, allocations: 0 / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6229, allocations: 7.938 kB / 1.03 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.6241, allocations: 0.5495 MB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.6242, allocations: 116.6 kB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.6243, allocations: 8 kB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.6247, allocations: 31.95 kB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6248, allocations: 27.84 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.6248, allocations: 11.92 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003199/0.6251, allocations: 311.1 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6251, allocations: 0 / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003539/0.6255, allocations: 68 kB / 1.031 GB, free: 4.004 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 (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.0001282/0.6256, allocations: 103.2 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.6269, allocations: 448.9 kB / 1.032 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6269, allocations: 4 kB / 1.032 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.6275, allocations: 223.8 kB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.6279, allocations: 55.75 kB / 1.032 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.6292, allocations: 0.6771 MB / 1.033 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.6295, allocations: 0.7987 MB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000259/0.6298, allocations: 58.28 kB / 1.033 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.63, allocations: 23.42 kB / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of SimCode: time 6.72e-07/0.63, allocations: 0 / 1.033 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of Templates: time 0.008068/0.638, allocations: 4.247 MB / 1.038 GB, free: 13.37 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches