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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001291/0.001291, allocations: 194.3 kB / 16.25 MB, free: 6.621 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 65.52 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003503/0.2505, allocations: 2.426 MB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.2524, allocations: 1.398 MB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2526, allocations: 8 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.2532, allocations: 195 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.2533, allocations: 59.48 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.2536, allocations: 111.8 kB / 1.057 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.254, allocations: 334.7 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2541, allocations: 36.73 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.2543, allocations: 131.5 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.2546, allocations: 183.4 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.2547, allocations: 35.94 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2549, allocations: 71.91 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.255, allocations: 123.7 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.2552, allocations: 175.1 kB / 1.058 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.2556, allocations: 490.8 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2556, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2556, allocations: 0 / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.2557, allocations: 4 kB / 1.058 GB, free: 2.887 MB / 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.001234/0.2569, allocations: 0.7043 MB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2569, allocations: 8.625 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.257, allocations: 50.73 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.2579, allocations: 148.3 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.2583, allocations: 354.2 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2584, allocations: 84.19 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.2585, allocations: 12.38 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007227/0.2592, allocations: 299.9 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2592, allocations: 7.984 kB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.2593, allocations: 8 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2593, allocations: 0 / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.2604, allocations: 420.3 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.2619, allocations: 0.8552 MB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.2626, allocations: 278.3 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.2631, allocations: 216.7 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.2632, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.2632, allocations: 38.56 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.2632, allocations: 4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001755/0.265, allocations: 0.6395 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.265, allocations: 59.34 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.2654, allocations: 433.5 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.2655, allocations: 25.7 kB / 1.063 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2656, allocations: 176.1 kB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.2657, allocations: 66.94 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2658, allocations: 41.7 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2659, allocations: 350.8 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.2665, allocations: 191.8 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.267, allocations: 231.3 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.268, allocations: 371.5 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.268, allocations: 3.938 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001165/0.2692, allocations: 464.9 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2692, allocations: 7.984 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2692, allocations: 0 / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2692, allocations: 0 / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.2697, allocations: 63.88 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2697, allocations: 3.984 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2701, allocations: 43.84 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.2701, allocations: 4 kB / 1.064 GB, free: 12.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001835/0.2703, allocations: 173.7 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.2704, allocations: 35.53 kB / 1.065 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/0.2704, allocations: 43.59 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2705, allocations: 7.938 kB / 1.065 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2705, allocations: 3.984 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2705, allocations: 0 / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.271, allocations: 466.9 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.271, allocations: 0 / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.2714, allocations: 59.92 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2714, allocations: 0 / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.2715, allocations: 15.98 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2715, allocations: 11.88 kB / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2715, allocations: 0 / 1.065 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.2727, allocations: 0.5472 MB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.2728, allocations: 124.6 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.887e-05/0.2729, allocations: 0 / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.2732, allocations: 39.89 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.2733, allocations: 19.97 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.2734, allocations: 11.98 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003171/0.2737, allocations: 307.1 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2737, allocations: 4 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000329/0.274, allocations: 64 kB / 1.066 GB, free: 10.06 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 (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.001485/0.2755, allocations: 1.096 MB / 1.067 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2767, allocations: 443.6 kB / 1.068 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2767, allocations: 0 / 1.068 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.2773, allocations: 230.1 kB / 1.068 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.2777, allocations: 57.45 kB / 1.068 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/0.2843, allocations: 4.238 MB / 1.072 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.2847, allocations: 0.7986 MB / 1.073 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.285, allocations: 54.27 kB / 1.073 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.2852, allocations: 107.4 kB / 1.073 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2853, allocations: 0 / 1.073 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.132/1.418, allocations: 7.705 MB / 1.081 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.418, allocations: 228.1 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/3.189, allocations: 7.453 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > 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