Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001581/0.001581, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001932/0.001932, allocations: 165 kB / 23.02 MB, free: 1.551 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.961/0.961, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.032/2.032, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.517e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002915/0.00294, allocations: 2.118 MB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.004728, allocations: 1.446 MB / 0.8817 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.004795, allocations: 0 / 0.8817 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 7.031e-05/0.004866, allocations: 15.8 kB / 0.8817 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.004971, allocations: 55.48 kB / 0.8817 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.005977, allocations: 340.5 kB / 0.8821 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.006222, allocations: 232 kB / 0.8823 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.00639, allocations: 33.66 kB / 0.8823 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.006552, allocations: 123.8 kB / 0.8824 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.006687, allocations: 72.58 kB / 0.8825 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.006718, allocations: 17.22 kB / 0.8825 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.007334, allocations: 351.4 kB / 0.8828 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.007378, allocations: 41.41 kB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.007448, allocations: 71.83 kB / 0.883 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/0.007962, allocations: 382.9 kB / 0.8833 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.007966, allocations: 7.938 kB / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/0.007968, allocations: 0.8125 kB / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.007974, allocations: 0 / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006629/0.008637, allocations: 0.5395 MB / 0.8839 GB, free: 480 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.008672, allocations: 8.031 kB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.009681, allocations: 208.6 kB / 0.8841 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.009794, allocations: 132.4 kB / 0.8842 GB, free: 104 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/0.009878, allocations: 71.97 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.009916, allocations: 16.31 kB / 0.8843 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.01044, allocations: 306.9 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.01045, allocations: 192 / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.01048, allocations: 4.375 kB / 0.8846 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01049, allocations: 8.125 kB / 0.8846 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.01072, allocations: 145.1 kB / 0.8847 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.01194, allocations: 0.7138 MB / 0.8854 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.01286, allocations: 302.9 kB / 0.8857 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.013, allocations: 91.64 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/0.01309, allocations: 15.94 kB / 0.8858 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.01312, allocations: 41.39 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.105e-06/0.01313, allocations: 4 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0009468/0.01407, allocations: 363.7 kB / 0.8862 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.0141, allocations: 55.41 kB / 0.8862 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.0142, allocations: 185.9 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.01423, allocations: 25.7 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.0143, allocations: 175 kB / 0.8866 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.01434, allocations: 51.53 kB / 0.8867 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.01442, allocations: 47.34 kB / 0.8867 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.01453, allocations: 0.4962 MB / 0.8872 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.01466, allocations: 79.95 kB / 0.8873 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01479, allocations: 76.81 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.015, allocations: 125.7 kB / 0.8875 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.015, allocations: 0 / 0.8875 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004822/0.01549, allocations: 274.8 kB / 0.8877 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.0155, allocations: 4 kB / 0.8877 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01551, allocations: 4 kB / 0.8877 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.0158, allocations: 83.55 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/0.01648, allocations: 119.9 kB / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004201/0.0169, allocations: 0.8233 MB / 0.8887 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.01708, allocations: 47.8 kB / 0.8888 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.0171, allocations: 4 kB / 0.8888 GB, free: 11.18 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: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.01721, allocations: 168.7 kB / 0.8889 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.01726, allocations: 15.94 kB / 0.889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.01783, allocations: 288.3 kB / 0.8892 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01784, allocations: 3.938 kB / 0.8892 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01784, allocations: 0 / 0.8892 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01785, allocations: 0 / 0.8892 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.01914, allocations: 0.678 MB / 0.8899 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01914, allocations: 4.062 kB / 0.8899 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.0198, allocations: 115.9 kB / 0.89 GB, free: 9.852 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.02002, allocations: 83.61 kB / 0.8901 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.02004, allocations: 4 kB / 0.8901 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003696/0.02041, allocations: 0.8272 MB / 0.8909 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.02041, allocations: 4 kB / 0.8909 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.02088, allocations: 354.7 kB / 0.8912 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.0209, allocations: 7.953 kB / 0.8912 GB, free: 8.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.02093, allocations: 4 kB / 0.8913 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.02111, allocations: 27.91 kB / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.02114, allocations: 7.984 kB / 0.8913 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.02117, allocations: 15.98 kB / 0.8913 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.02122, allocations: 137.7 kB / 0.8914 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02122, allocations: 0 / 0.8914 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003988/0.02161, allocations: 135.6 kB / 0.8916 GB, free: 8.191 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003778/0.02199, allocations: 230.8 kB / 0.8918 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.0225, allocations: 198.8 kB / 0.892 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.0225, allocations: 4 kB / 0.892 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.02273, allocations: 104 kB / 0.8921 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.02299, allocations: 49.83 kB / 0.8921 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.02411, allocations: 337.9 kB / 0.8924 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.02416, allocations: 68.39 kB / 0.8925 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.02432, allocations: 48.14 kB / 0.8926 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.02444, allocations: 28.47 kB / 0.8926 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of SimCode: time 1.172e-06/0.02444, allocations: 0 / 0.8926 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of Templates: time 0.008106/0.03254, allocations: 6.172 MB / 0.8986 GB, free: 0.9883 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.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.576627483125776]