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.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.0008344/0.0008344, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007993/0.0007993, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8548/0.8548, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.792/1.792, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.533e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002456/0.002481, allocations: 2.288 MB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.003921, allocations: 1.351 MB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.004029, allocations: 4 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.004483, allocations: 182.9 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.004573, allocations: 83.22 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.004873, allocations: 135.6 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.005157, allocations: 346.6 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.005267, allocations: 28.91 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.005507, allocations: 203.4 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.005699, allocations: 155.6 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.005737, allocations: 32 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.855e-05/0.005835, allocations: 71.95 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.005923, allocations: 123.6 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.005999, allocations: 111.7 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.006395, allocations: 0.518 MB / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006397, allocations: 0 / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006398, allocations: 0 / 1.006 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.006404, allocations: 3.938 kB / 1.006 GB, free: 7.391 MB / 0.9636 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.0008148/0.007219, allocations: 0.6483 MB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.007255, allocations: 8.75 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005517/0.007807, allocations: 180.4 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.008128, allocations: 296 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.008246, allocations: 195 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.008274, allocations: 16.34 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.008708, allocations: 303.8 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.008718, allocations: 192 / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.00874, allocations: 8.125 kB / 1.008 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.008745, allocations: 4 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/0.009435, allocations: 416.4 kB / 1.008 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.01037, allocations: 0.7155 MB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.01075, allocations: 262.4 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.01105, allocations: 204.7 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.01107, allocations: 0 / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.0111, allocations: 38.56 kB / 1.01 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.0111, allocations: 0 / 1.01 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.001018/0.01212, allocations: 0.6551 MB / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.01215, allocations: 55.41 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.01244, allocations: 413.7 kB / 1.011 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.01247, allocations: 33.7 kB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.01257, allocations: 184.5 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.01262, allocations: 59.47 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01268, allocations: 41.7 kB / 1.011 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.01278, allocations: 354.7 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.01307, allocations: 195.8 kB / 1.011 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.0134, allocations: 312.3 kB / 1.012 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.01394, allocations: 370.9 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01394, allocations: 4 kB / 1.012 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006391/0.01458, allocations: 462.2 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.01459, allocations: 4 kB / 1.013 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.0146, allocations: 8 kB / 1.013 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.01461, allocations: 0 / 1.013 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.01483, allocations: 67.86 kB / 1.013 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.01484, allocations: 0 / 1.013 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01498, allocations: 35.91 kB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.01499, allocations: 7.984 kB / 1.013 GB, free: 0.6914 MB / 0.9636 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.000127/0.01512, allocations: 161.8 kB / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.01516, allocations: 47.69 kB / 1.013 GB, free: 488 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.0152, allocations: 43.45 kB / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.0152, allocations: 0 / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01521, allocations: 0 / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01521, allocations: 0 / 1.013 GB, free: 444 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.01551, allocations: 354.9 kB / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01551, allocations: 0 / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.01571, allocations: 59.91 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.01571, allocations: 4 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.01573, allocations: 11.94 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01573, allocations: 0 / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01573, allocations: 0 / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.01643, allocations: 0.5509 MB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.01647, allocations: 47.69 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.01651, allocations: 4 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.01665, allocations: 27.95 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.01673, allocations: 27.95 kB / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01674, allocations: 4 kB / 1.014 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002116/0.01695, allocations: 311.1 kB / 1.014 GB, free: 15 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01695, allocations: 0 / 1.014 GB, free: 15 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002193/0.01717, allocations: 60 kB / 1.014 GB, free: 14.95 MB / 0.9792 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 9.296e-05/0.01726, allocations: 103.2 kB / 1.014 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006708/0.01793, allocations: 425.5 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01794, allocations: 0 / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.01834, allocations: 219.7 kB / 1.015 GB, free: 14.21 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.01862, allocations: 61.38 kB / 1.015 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.01949, allocations: 0.7115 MB / 1.016 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.01961, allocations: 183.5 kB / 1.016 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.01976, allocations: 36.47 kB / 1.016 GB, free: 13.17 MB / 0.9792 GB Notification: Performance of SimCode: time 8.42e-07/0.01976, allocations: 3.938 kB / 1.016 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of Templates: time 0.004934/0.02469, allocations: 5.123 MB / 1.021 GB, free: 8.066 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.583160664886236]