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.001391/0.001391, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009917/0.0009917, allocations: 177 kB / 23.36 MB, free: 1.129 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.8971/0.8971, allocations: 177.1 MB / 203.8 MB, free: 5.48 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 2.295/2.295, allocations: 438.8 MB / 0.6826 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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 2.655e-06/2.655e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.756e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004178/0.004206, allocations: 2.411 MB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.006999, allocations: 1.44 MB / 0.8423 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.007176, allocations: 11.94 kB / 0.8423 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.007843, allocations: 186.8 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.008042, allocations: 83.22 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.008462, allocations: 139.6 kB / 0.8427 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.008892, allocations: 339 kB / 0.8431 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.009016, allocations: 38.81 kB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.009368, allocations: 191.5 kB / 0.8433 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.009676, allocations: 167.6 kB / 0.8434 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.00975, allocations: 32 kB / 0.8435 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.009907, allocations: 71.95 kB / 0.8435 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.01004, allocations: 127.6 kB / 0.8437 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.01017, allocations: 111.7 kB / 0.8438 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.01066, allocations: 338.8 kB / 0.8441 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.01066, allocations: 0 / 0.8441 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01066, allocations: 0 / 0.8441 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.01067, allocations: 0 / 0.8441 GB, free: 8.52 MB / 0.8073 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.00108/0.01175, allocations: 0.6036 MB / 0.8447 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.01181, allocations: 8.625 kB / 0.8447 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.01262, allocations: 148.8 kB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.01302, allocations: 252 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.01318, allocations: 194.9 kB / 0.8453 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.01323, allocations: 12.38 kB / 0.8453 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.01367, allocations: 199.4 kB / 0.8455 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.01368, allocations: 4.172 kB / 0.8455 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.01371, allocations: 8.125 kB / 0.8455 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.01371, allocations: 4 kB / 0.8455 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.01394, allocations: 84.67 kB / 0.8456 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.01491, allocations: 418.6 kB / 0.846 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.01519, allocations: 162.3 kB / 0.8461 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.01531, allocations: 60.84 kB / 0.8462 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.01535, allocations: 4 kB / 0.8462 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.01537, allocations: 30.56 kB / 0.8462 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.01537, allocations: 3.938 kB / 0.8462 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0004788/0.01585, allocations: 195.8 kB / 0.8464 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.01589, allocations: 55.41 kB / 0.8464 GB, free: 5.957 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.01616, allocations: 311.4 kB / 0.8467 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.01619, allocations: 33.7 kB / 0.8468 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.01627, allocations: 125.5 kB / 0.8469 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.01633, allocations: 63.47 kB / 0.847 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.01643, allocations: 41.67 kB / 0.847 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.01655, allocations: 354.7 kB / 0.8473 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.01666, allocations: 39.14 kB / 0.8474 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.01682, allocations: 160.3 kB / 0.8475 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01704, allocations: 100.7 kB / 0.8476 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01704, allocations: 0 / 0.8476 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003098/0.01735, allocations: 159.5 kB / 0.8478 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01737, allocations: 4 kB / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01738, allocations: 0 / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.01739, allocations: 4 kB / 0.8478 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.01766, allocations: 43.89 kB / 0.8478 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01767, allocations: 4 kB / 0.8478 GB, free: 4.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.01784, allocations: 35.86 kB / 0.8479 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.01786, allocations: 0 / 0.8479 GB, free: 4.43 MB / 0.8073 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.0001215/0.01798, allocations: 120.6 kB / 0.848 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.01805, allocations: 27.97 kB / 0.848 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.0181, allocations: 35.45 kB / 0.848 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.01811, allocations: 4 kB / 0.848 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.01811, allocations: 0 / 0.848 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01811, allocations: 3.984 kB / 0.848 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.01845, allocations: 209.7 kB / 0.8482 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01845, allocations: 0 / 0.8482 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.01868, allocations: 55.78 kB / 0.8483 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.01868, allocations: 3.984 kB / 0.8483 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.01871, allocations: 8 kB / 0.8483 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01871, allocations: 0 / 0.8483 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01871, allocations: 0 / 0.8483 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.01919, allocations: 298.1 kB / 0.8486 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.01925, allocations: 35.64 kB / 0.8486 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.0193, allocations: 8 kB / 0.8486 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.01948, allocations: 15.98 kB / 0.8486 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.01958, allocations: 27.95 kB / 0.8487 GB, free: 3.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.0196, allocations: 7.984 kB / 0.8487 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001542/0.01975, allocations: 136.7 kB / 0.8488 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01975, allocations: 4 kB / 0.8488 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003155/0.02007, allocations: 60 kB / 0.8489 GB, free: 3.344 MB / 0.8073 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.0001318/0.0202, allocations: 76.42 kB / 0.8489 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.02053, allocations: 136.7 kB / 0.8491 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.02053, allocations: 4 kB / 0.8491 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.02069, allocations: 78.95 kB / 0.8492 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.02104, allocations: 81.36 kB / 0.8492 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.02219, allocations: 0.5543 MB / 0.8498 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.419e-05/0.02228, allocations: 100.3 kB / 0.8499 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000208/0.02249, allocations: 42.28 kB / 0.8499 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.02276, allocations: 103.3 kB / 0.85 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.02276, allocations: 0 / 0.85 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of Templates: time 0.008909/0.03167, allocations: 4.657 MB / 0.8546 GB, free: 13.56 MB / 0.823 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.178772110957652]