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.001089/0.00109, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.00131/0.00131, allocations: 168.7 kB / 15.95 MB, free: 204 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003197, allocations: 8.531 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.25, allocations: 159.6 MB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002461/0.2525, allocations: 2.016 MB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2543, allocations: 1.301 MB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2545, allocations: 3.938 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.255, allocations: 175.1 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.2551, allocations: 63.47 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.2554, allocations: 87.83 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.2558, allocations: 290.8 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.2559, allocations: 44.7 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.2561, allocations: 111.6 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.2564, allocations: 179.4 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.2564, allocations: 20 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.2566, allocations: 51.97 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2567, allocations: 107.7 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.2568, allocations: 81.52 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.2572, allocations: 375.3 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2572, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2572, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2572, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 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.001135/0.2583, allocations: 0.6616 MB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2584, allocations: 8.031 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008346/0.2592, allocations: 175.4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004247/0.2596, allocations: 337.2 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2598, allocations: 87.56 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.2598, allocations: 12 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.2605, allocations: 324 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2606, allocations: 0 / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.2606, allocations: 7.984 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2606, allocations: 7.938 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2617, allocations: 464.4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.2633, allocations: 0.8746 MB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.2639, allocations: 286.4 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.2645, allocations: 244.7 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2645, allocations: 3.938 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2646, allocations: 42.56 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2646, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001749/0.2663, allocations: 0.7041 MB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2664, allocations: 55.41 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004422/0.2668, allocations: 417.6 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.2669, allocations: 33.7 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.267, allocations: 184 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.2671, allocations: 59.11 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.2671, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2672, allocations: 342.8 kB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.2678, allocations: 215.9 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.2683, allocations: 269.2 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.2689, allocations: 203.8 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2689, allocations: 0 / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001168/0.27, allocations: 0.4982 MB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2701, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2701, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2701, allocations: 3.984 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.2706, allocations: 71.88 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2706, allocations: 4 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.2709, allocations: 55.84 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.271, allocations: 8 kB / 1.069 GB, free: 9.648 MB / 0.8262 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.0001816/0.2711, allocations: 161.8 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.2712, allocations: 39.48 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/0.2713, allocations: 43.59 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2713, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2713, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2713, allocations: 11.92 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.2718, allocations: 470.9 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2719, allocations: 0 / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.2723, allocations: 71.92 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2723, allocations: 7.891 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2724, allocations: 15.92 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2724, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2724, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.2736, allocations: 0.594 MB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.2737, allocations: 120.6 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.2737, allocations: 7.953 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003384/0.2741, allocations: 43.95 kB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.2742, allocations: 23.95 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.2742, allocations: 8 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003278/0.2746, allocations: 307.1 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2746, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003463/0.2749, allocations: 64 kB / 1.071 GB, free: 7.594 MB / 0.8262 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.0001223/0.275, allocations: 95.25 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.2762, allocations: 485.1 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2762, allocations: 0 / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005916/0.2768, allocations: 251.8 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.2773, allocations: 57.5 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2786, allocations: 0.7523 MB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.279, allocations: 0.7911 MB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003033/0.2793, allocations: 58.27 kB / 1.074 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.2794, allocations: 27.42 kB / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.2794, allocations: 0 / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.007601/0.287, allocations: 3.859 MB / 1.077 GB, free: 1.227 MB / 0.8262 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/jenkins/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