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.001767/0.001767, allocations: 79.67 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002523/0.002523, allocations: 167.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.549/1.549, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.974/2.974, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.57e-05/3.876e-05, allocations: 9.594 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004047/0.004086, allocations: 2.292 MB / 0.9837 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.006458, allocations: 1.343 MB / 0.985 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.006595, allocations: 7.938 kB / 0.985 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.007257, allocations: 178.9 kB / 0.9852 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.007414, allocations: 91.2 kB / 0.9852 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.00782, allocations: 131.6 kB / 0.9854 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.008265, allocations: 346.5 kB / 0.9857 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.008402, allocations: 32.91 kB / 0.9857 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.00875, allocations: 195.5 kB / 0.9859 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.00905, allocations: 159.5 kB / 0.9861 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.009115, allocations: 39.94 kB / 0.9861 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.009268, allocations: 63.97 kB / 0.9862 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.00942, allocations: 119.6 kB / 0.9863 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.009574, allocations: 115.7 kB / 0.9864 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006482/0.01022, allocations: 0.5102 MB / 0.9869 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01023, allocations: 0 / 0.9869 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.667e-06/0.01023, allocations: 7.922 kB / 0.9869 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.01024, allocations: 0 / 0.9869 GB, free: 6.352 MB / 0.9356 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.001431/0.01167, allocations: 0.6469 MB / 0.9875 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01171, allocations: 16.03 kB / 0.9875 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.01293, allocations: 176.5 kB / 0.9877 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.01343, allocations: 303.9 kB / 0.988 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.01364, allocations: 195 kB / 0.9882 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.01368, allocations: 12.38 kB / 0.9882 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.01453, allocations: 295.8 kB / 0.9885 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.01454, allocations: 192 / 0.9885 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.01457, allocations: 8.125 kB / 0.9885 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01458, allocations: 4 kB / 0.9885 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.01584, allocations: 424.3 kB / 0.9889 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.01762, allocations: 0.7339 MB / 0.9896 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.01839, allocations: 254.4 kB / 0.9899 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.01902, allocations: 207 kB / 0.9901 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.01905, allocations: 4 kB / 0.9901 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.01909, allocations: 34.56 kB / 0.9901 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.01909, allocations: 0 / 0.9901 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.00205/0.02114, allocations: 0.6497 MB / 0.9907 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.02119, allocations: 59.34 kB / 0.9908 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/0.02172, allocations: 413.6 kB / 0.9912 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.02176, allocations: 29.7 kB / 0.9912 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.02194, allocations: 184.5 kB / 0.9914 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.02202, allocations: 63.42 kB / 0.9914 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.02214, allocations: 41.7 kB / 0.9915 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.02233, allocations: 350.7 kB / 0.9918 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.02296, allocations: 195.8 kB / 0.992 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.02365, allocations: 306.6 kB / 0.9923 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.0248, allocations: 372.5 kB / 0.9926 GB, free: 232 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02481, allocations: 0 / 0.9926 GB, free: 232 kB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001385/0.02619, allocations: 471.6 kB / 0.9931 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.02621, allocations: 4 kB / 0.9931 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02622, allocations: 0 / 0.9931 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.02624, allocations: 7.938 kB / 0.9931 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.02677, allocations: 55.92 kB / 0.9932 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.02678, allocations: 4 kB / 0.9932 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.02714, allocations: 39.91 kB / 0.9932 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.02718, allocations: 4 kB / 0.9932 GB, free: 15.65 MB / 0.9512 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.0002347/0.02741, allocations: 173.7 kB / 0.9934 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.02749, allocations: 35.77 kB / 0.9934 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.218e-05/0.02757, allocations: 43.44 kB / 0.9934 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.02757, allocations: 4 kB / 0.9935 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.02758, allocations: 3.938 kB / 0.9935 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.02758, allocations: 4.031 kB / 0.9935 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.0281, allocations: 346.8 kB / 0.9938 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02811, allocations: 4 kB / 0.9938 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.02856, allocations: 59.92 kB / 0.9939 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.02856, allocations: 4 kB / 0.9939 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.02859, allocations: 4 kB / 0.9939 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.0286, allocations: 3.984 kB / 0.9939 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.0286, allocations: 0 / 0.9939 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.03002, allocations: 0.5536 MB / 0.9944 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.03009, allocations: 39.7 kB / 0.9944 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.508e-05/0.03016, allocations: 7.984 kB / 0.9944 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.03054, allocations: 31.95 kB / 0.9945 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.03065, allocations: 27.86 kB / 0.9945 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.03069, allocations: 12 kB / 0.9945 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003625/0.03105, allocations: 307.1 kB / 0.9948 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.03105, allocations: 0 / 0.9948 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003558/0.03141, allocations: 64 kB / 0.9949 GB, free: 13.89 MB / 0.9512 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.0001695/0.03158, allocations: 99.19 kB / 0.995 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.0329, allocations: 425.7 kB / 0.9954 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.03291, allocations: 0 / 0.9954 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006498/0.03356, allocations: 215.8 kB / 0.9956 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.03401, allocations: 49.36 kB / 0.9956 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.03558, allocations: 0.6629 MB / 0.9963 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.0358, allocations: 191.5 kB / 0.9965 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002584/0.03605, allocations: 58.27 kB / 0.9965 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.03623, allocations: 32.42 kB / 0.9965 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.03623, allocations: 0 / 0.9965 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of Templates: time 0.01002/0.04625, allocations: 4.48 MB / 1.001 GB, free: 7.723 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] 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: 8.498459335416555]