Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_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.007217/0.007217, allocations: 103.4 kB / 15.74 MB, free: 6.008 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.001675/0.001676, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.14 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6755, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003049/0.6786, allocations: 2.37 MB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.6803, allocations: 1.403 MB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.6804, allocations: 3.062 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.681, allocations: 201.2 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.6811, allocations: 78.08 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.6814, allocations: 123.6 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.6817, allocations: 322.5 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.6819, allocations: 51.61 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.6821, allocations: 132.8 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.6823, allocations: 188.9 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.6824, allocations: 31.44 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.6826, allocations: 69.52 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.6827, allocations: 122 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.6829, allocations: 175.7 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.6834, allocations: 493.8 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6834, allocations: 0.6875 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6834, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.6834, allocations: 0.75 kB / 1.093 GB, free: 1.664 MB / 0.8575 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.001186/0.6846, allocations: 0.7052 MB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6847, allocations: 9.438 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.542e-05/0.6847, allocations: 54.77 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.6857, allocations: 142 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.6861, allocations: 350 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.6862, allocations: 84.52 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.6863, allocations: 21.66 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.6871, allocations: 301.4 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.6871, allocations: 0 / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.6871, allocations: 5.734 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6871, allocations: 3.094 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6883, allocations: 423.4 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.6901, allocations: 0.8616 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.6908, allocations: 268 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.6914, allocations: 214.5 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.6915, allocations: 6.062 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6915, allocations: 37.39 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 3.256e-06/0.6915, allocations: 0 / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001976/0.6935, allocations: 0.6522 MB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.6935, allocations: 58.16 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.6941, allocations: 421 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.6941, allocations: 30.83 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.6943, allocations: 176.7 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.6943, allocations: 66.67 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.6945, allocations: 37.02 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6946, allocations: 349 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.6952, allocations: 193.2 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.6958, allocations: 234.1 kB / 1.099 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.6969, allocations: 375.1 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6969, allocations: 0 / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001272/0.6982, allocations: 458.2 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6982, allocations: 9.938 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6982, allocations: 0 / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.6982, allocations: 1.641 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.6987, allocations: 73.81 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6988, allocations: 1.859 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.6991, allocations: 43.33 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.6992, allocations: 6.078 kB / 1.099 GB, free: 14.02 MB / 0.8731 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.0001837/0.6994, allocations: 164.5 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.6994, allocations: 36.33 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.6995, allocations: 41.05 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6995, allocations: 5.75 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6995, allocations: 0.7969 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6996, allocations: 1.016 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.7001, allocations: 477.7 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7001, allocations: 0.6562 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.7006, allocations: 65.67 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.7006, allocations: 1.062 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.7006, allocations: 3.422 kB / 1.1 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.7006, allocations: 9.469 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7007, allocations: 0.7031 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.702, allocations: 0.548 MB / 1.101 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.7021, allocations: 115 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.7021, allocations: 5.812 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.7025, allocations: 38 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.7026, allocations: 29.98 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.7027, allocations: 5.391 kB / 1.101 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003388/0.703, allocations: 310.2 kB / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.703, allocations: 0 / 1.101 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003472/0.7034, allocations: 62.34 kB / 1.101 GB, free: 12.92 MB / 0.8731 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.001721/0.7051, allocations: 1.103 MB / 1.102 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.7064, allocations: 433.5 kB / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7064, allocations: 0 / 1.103 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006255/0.707, allocations: 232.1 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.7075, allocations: 58.2 kB / 1.103 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.7144, allocations: 4.116 MB / 1.107 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.7148, allocations: 0.7903 MB / 1.108 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.7151, allocations: 64.42 kB / 1.108 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.7153, allocations: 108.2 kB / 1.108 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.7153, allocations: 0 / 1.108 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.544/2.259, allocations: 7.903 MB / 1.116 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/14.21, allocations: 7.688 kB / 1.116 GB, free: 8.039 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches