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.001411/0.001411, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001467/0.001467, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9964/0.9964, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.286/2.286, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 3.116e-06/3.116e-06, allocations: 0.9844 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.477e-05, allocations: 3.625 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004846/0.00488, allocations: 2.406 MB / 0.8817 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002815/0.007696, allocations: 1.423 MB / 0.8831 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.007925, allocations: 4 kB / 0.8831 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.008692, allocations: 184.2 kB / 0.8833 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.008873, allocations: 87.27 kB / 0.8834 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.009359, allocations: 135.6 kB / 0.8835 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.009816, allocations: 342.6 kB / 0.8838 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.009953, allocations: 32.91 kB / 0.8839 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.01033, allocations: 191.6 kB / 0.8841 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.01065, allocations: 175.5 kB / 0.8842 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.01071, allocations: 32 kB / 0.8843 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.01088, allocations: 67.97 kB / 0.8843 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.01101, allocations: 119.7 kB / 0.8844 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.01115, allocations: 119.7 kB / 0.8845 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.01164, allocations: 330.9 kB / 0.8849 GB, free: 436 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.01165, allocations: 4 kB / 0.8849 GB, free: 432 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01165, allocations: 0 / 0.8849 GB, free: 432 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.01166, allocations: 0 / 0.8849 GB, free: 432 kB / 0.8386 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.001191/0.01285, allocations: 0.7481 MB / 0.8856 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.0129, allocations: 16.03 kB / 0.8856 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/0.01373, allocations: 156.6 kB / 0.8858 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.01417, allocations: 286.7 kB / 0.886 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.01434, allocations: 195 kB / 0.8862 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.01438, allocations: 20.34 kB / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.01483, allocations: 181.5 kB / 0.8864 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.01485, allocations: 8.172 kB / 0.8864 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.01487, allocations: 4.125 kB / 0.8864 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.01488, allocations: 4 kB / 0.8864 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.01519, allocations: 112.6 kB / 0.8865 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.01645, allocations: 0.5905 MB / 0.8871 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.01679, allocations: 125.5 kB / 0.8872 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.01698, allocations: 79.64 kB / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.01701, allocations: 0 / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.01705, allocations: 41.39 kB / 0.8874 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.01705, allocations: 3.938 kB / 0.8874 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0006615/0.01771, allocations: 245.5 kB / 0.8876 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.01775, allocations: 51.41 kB / 0.8876 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.01819, allocations: 446.6 kB / 0.8881 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.01823, allocations: 33.7 kB / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.01851, allocations: 247.2 kB / 0.8883 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.01859, allocations: 67.42 kB / 0.8884 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.0187, allocations: 43.34 kB / 0.8884 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.01892, allocations: 0.5429 MB / 0.889 GB, free: 12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.01906, allocations: 47.97 kB / 0.889 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.01928, allocations: 173.8 kB / 0.8892 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.01955, allocations: 107.6 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01955, allocations: 0 / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004524/0.02, allocations: 191.4 kB / 0.8895 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.02002, allocations: 4 kB / 0.8895 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.02003, allocations: 3.984 kB / 0.8895 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.02005, allocations: 0 / 0.8895 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.02039, allocations: 43.97 kB / 0.8895 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.0204, allocations: 7.938 kB / 0.8895 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.0206, allocations: 27.86 kB / 0.8895 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.02063, allocations: 4 kB / 0.8896 GB, free: 11.36 MB / 0.8542 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.0001583/0.02079, allocations: 168.5 kB / 0.8897 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.02088, allocations: 43.77 kB / 0.8898 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.713e-05/0.02095, allocations: 35.45 kB / 0.8898 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.02095, allocations: 4 kB / 0.8898 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.02096, allocations: 4 kB / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.02097, allocations: 0 / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.02158, allocations: 278.8 kB / 0.8901 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.02159, allocations: 3.938 kB / 0.8901 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.02187, allocations: 47.89 kB / 0.8901 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.02188, allocations: 0 / 0.8901 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.0219, allocations: 11.98 kB / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.02191, allocations: 0 / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02191, allocations: 0 / 0.8901 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.02244, allocations: 345.7 kB / 0.8905 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.02251, allocations: 47.62 kB / 0.8905 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.02256, allocations: 4 kB / 0.8905 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.02278, allocations: 15.98 kB / 0.8905 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.02289, allocations: 23.95 kB / 0.8905 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.02291, allocations: 0 / 0.8905 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002399/0.02315, allocations: 282.9 kB / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02315, allocations: 0 / 0.8908 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003794/0.02353, allocations: 68 kB / 0.8909 GB, free: 9.949 MB / 0.8542 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.0001684/0.0237, allocations: 103.3 kB / 0.891 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00042/0.02412, allocations: 147.5 kB / 0.8911 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02412, allocations: 0 / 0.8911 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.02432, allocations: 91.56 kB / 0.8912 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.0248, allocations: 86.81 kB / 0.8913 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.02629, allocations: 0.5633 MB / 0.8918 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.0264, allocations: 104.3 kB / 0.8919 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002472/0.02665, allocations: 42.28 kB / 0.892 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.02697, allocations: 122.2 kB / 0.8921 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/0.02697, allocations: 0 / 0.8921 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of Templates: time 0.01079/0.03776, allocations: 4.901 MB / 0.8969 GB, free: 3.801 MB / 0.8542 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.895338265225291]