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.001355/0.001355, allocations: 108 kB / 15.61 MB, free: 152 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.001314/0.001315, allocations: 197 kB / 16.53 MB, free: 6.664 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 73.83 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003466/0.254, allocations: 2.379 MB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.256, allocations: 1.405 MB / 1.057 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.2561, allocations: 4 kB / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.2567, allocations: 206.8 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2569, allocations: 79.22 kB / 1.057 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.2573, allocations: 115.7 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.2576, allocations: 330.8 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2577, allocations: 52.66 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.258, allocations: 127.5 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.2582, allocations: 187.4 kB / 1.058 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.2583, allocations: 32 kB / 1.058 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.2584, allocations: 75.89 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2586, allocations: 115.7 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.2587, allocations: 175 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.2592, allocations: 486.8 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2592, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2592, allocations: 0 / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2592, allocations: 0 / 1.058 GB, free: 2.535 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.001211/0.2604, allocations: 0.7122 MB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.2605, allocations: 8.625 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.2605, allocations: 54.67 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009363/0.2615, allocations: 140.3 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.262, allocations: 350.2 kB / 1.06 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2622, allocations: 88.19 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.2622, allocations: 12.38 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.263, allocations: 299.9 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.263, allocations: 0 / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.2631, allocations: 8 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2631, allocations: 0 / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2643, allocations: 428.3 kB / 1.061 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.2661, allocations: 0.8511 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.2668, allocations: 266.4 kB / 1.062 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005588/0.2674, allocations: 220.7 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.2674, allocations: 7.984 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2675, allocations: 34.56 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 3.066e-06/0.2675, allocations: 3.984 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001824/0.2693, allocations: 0.6432 MB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.2693, allocations: 59.34 kB / 1.063 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.2698, allocations: 433.5 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.2698, allocations: 29.7 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2699, allocations: 180.1 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.27, allocations: 55.05 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.2701, allocations: 41.7 kB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2702, allocations: 346.8 kB / 1.064 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.2708, allocations: 199.8 kB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.2714, allocations: 223.3 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2724, allocations: 382 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2724, allocations: 0 / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001228/0.2737, allocations: 466.3 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.2737, allocations: 4 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2737, allocations: 0 / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2737, allocations: 0 / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.2742, allocations: 63.86 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2742, allocations: 7.922 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.2746, allocations: 47.86 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.2746, allocations: 7.984 kB / 1.065 GB, free: 11.7 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.0001826/0.2748, allocations: 165.8 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.2749, allocations: 35.53 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.275, allocations: 43.58 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.275, allocations: 7.938 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.275, allocations: 0 / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.275, allocations: 4 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.2755, allocations: 470.9 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2755, allocations: 0 / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.276, allocations: 67.86 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.276, allocations: 0 / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.276, allocations: 4 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.276, allocations: 7.875 kB / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.276, allocations: 0 / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.2772, allocations: 0.5477 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.2773, allocations: 120.6 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2774, allocations: 4 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.2778, allocations: 43.88 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2779, allocations: 23.97 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.2779, allocations: 4 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003105/0.2782, allocations: 307.1 kB / 1.067 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2783, allocations: 3.938 kB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000337/0.2786, allocations: 68 kB / 1.067 GB, free: 9.711 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.001482/0.2801, allocations: 1.097 MB / 1.068 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.2813, allocations: 447.6 kB / 1.068 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2813, allocations: 0 / 1.068 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.2819, allocations: 231.8 kB / 1.068 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2824, allocations: 50.45 kB / 1.069 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/0.2889, allocations: 4.176 MB / 1.073 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2893, allocations: 0.7908 MB / 1.073 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002734/0.2896, allocations: 66.3 kB / 1.073 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.2898, allocations: 107.4 kB / 1.074 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2898, allocations: 0 / 1.074 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/0.6478, allocations: 7.803 MB / 1.081 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.969, allocations: 13.98 kB / 1.081 GB, free: 11 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