Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008423/0.0008423, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8279/0.8279, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.654/1.654, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 0 / 0.981 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.373e-05, allocations: 2.281 kB / 0.981 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00261/0.002634, allocations: 2.292 MB / 0.9832 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.0041, allocations: 1.332 MB / 0.9845 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.004209, allocations: 8 kB / 0.9845 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.004607, allocations: 190.8 kB / 0.9847 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.004687, allocations: 71.34 kB / 0.9848 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.004954, allocations: 147.5 kB / 0.9849 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.005216, allocations: 338.6 kB / 0.9852 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.005315, allocations: 40.77 kB / 0.9853 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.00552, allocations: 199.5 kB / 0.9854 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.005699, allocations: 151.6 kB / 0.9856 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.005735, allocations: 32 kB / 0.9856 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.234e-05/0.005827, allocations: 71.95 kB / 0.9857 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 8.507e-05/0.005912, allocations: 123.6 kB / 0.9858 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.005992, allocations: 119.7 kB / 0.9859 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.006536, allocations: 0.5141 MB / 0.9864 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.006541, allocations: 0 / 0.9864 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.432e-06/0.006542, allocations: 0 / 0.9864 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.006549, allocations: 0 / 0.9864 GB, free: 11.84 MB / 0.9011 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.0009402/0.007489, allocations: 0.6483 MB / 0.9871 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.00753, allocations: 8.031 kB / 0.9871 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.007575, allocations: 54.73 kB / 0.9871 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/0.008156, allocations: 180.5 kB / 0.9873 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.008505, allocations: 307.9 kB / 0.9876 GB, free: 10.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.008617, allocations: 191 kB / 0.9878 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.008643, allocations: 16.38 kB / 0.9878 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.009115, allocations: 297 kB / 0.9881 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.009124, allocations: 192 / 0.9881 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.009148, allocations: 11.92 kB / 0.9881 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.009154, allocations: 7.938 kB / 0.9881 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006156/0.00977, allocations: 416.4 kB / 0.9885 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.01082, allocations: 0.7489 MB / 0.9892 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.01122, allocations: 258.4 kB / 0.9895 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.01151, allocations: 208.7 kB / 0.9897 GB, free: 8.379 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.01154, allocations: 3.938 kB / 0.9897 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.01156, allocations: 38.56 kB / 0.9897 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.01156, allocations: 0 / 0.9897 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0009817/0.01254, allocations: 0.6478 MB / 0.9903 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.01257, allocations: 59.41 kB / 0.9904 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.01286, allocations: 429.6 kB / 0.9908 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.01289, allocations: 33.69 kB / 0.9908 GB, free: 7.137 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.01299, allocations: 168.1 kB / 0.991 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.01303, allocations: 63.44 kB / 0.991 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.0131, allocations: 49.62 kB / 0.9911 GB, free: 6.852 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.01319, allocations: 350.7 kB / 0.9914 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.01348, allocations: 191.9 kB / 0.9916 GB, free: 6.312 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.0138, allocations: 312.2 kB / 0.9919 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.01435, allocations: 371 kB / 0.9923 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01435, allocations: 0 / 0.9923 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006449/0.01499, allocations: 465.1 kB / 0.9927 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01501, allocations: 8 kB / 0.9927 GB, free: 5.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.01501, allocations: 4 kB / 0.9927 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01503, allocations: 0 / 0.9927 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.01525, allocations: 63.86 kB / 0.9928 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.01526, allocations: 0 / 0.9928 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.0154, allocations: 47.78 kB / 0.9928 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.01542, allocations: 7.984 kB / 0.9928 GB, free: 5.023 MB / 0.9011 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.000125/0.01555, allocations: 169.8 kB / 0.993 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.01559, allocations: 35.77 kB / 0.993 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.01563, allocations: 39.53 kB / 0.9931 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01563, allocations: 0 / 0.9931 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01564, allocations: 0 / 0.9931 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01564, allocations: 7.938 kB / 0.9931 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.01595, allocations: 370.4 kB / 0.9934 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01596, allocations: 0 / 0.9934 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.01614, allocations: 63.92 kB / 0.9935 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01614, allocations: 0 / 0.9935 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01616, allocations: 7.984 kB / 0.9935 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.01617, allocations: 4 kB / 0.9935 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.01617, allocations: 7.938 kB / 0.9935 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.01683, allocations: 0.5561 MB / 0.9941 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.01689, allocations: 51.62 kB / 0.9941 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.01692, allocations: 4 kB / 0.9941 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01707, allocations: 31.95 kB / 0.9941 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/0.01714, allocations: 23.95 kB / 0.9942 GB, free: 3.598 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01715, allocations: 8 kB / 0.9942 GB, free: 3.59 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002085/0.01736, allocations: 315.1 kB / 0.9945 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.01736, allocations: 0 / 0.9945 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000219/0.01758, allocations: 67.95 kB / 0.9945 GB, free: 3.219 MB / 0.9011 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.0008954/0.01848, allocations: 1.094 MB / 0.9956 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.01913, allocations: 426 kB / 0.996 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01913, allocations: 3.938 kB / 0.996 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.01943, allocations: 223.8 kB / 0.9962 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.01971, allocations: 45.5 kB / 0.9963 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.02425, allocations: 4.186 MB / 1 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.02438, allocations: 187.5 kB / 1.001 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001993/0.02458, allocations: 62.27 kB / 1.001 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.02475, allocations: 108.5 kB / 1.001 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of SimCode: time 7.62e-07/0.02475, allocations: 0 / 1.001 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.04603, allocations: 9.043 MB / 1.01 GB, free: 3.965 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.772, allocations: 12.08 kB / 1.01 GB, free: 3.957 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.509582022204995]