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.0008962/0.0008962, 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.0009178/0.0009178, allocations: 169 kB / 23.02 MB, free: 1.543 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.8857/0.8857, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.097/2.097, allocations: 429.5 MB / 0.6732 GB, free: 4.066 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 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.982e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003978/0.004007, allocations: 2.122 MB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002482/0.006489, allocations: 1.452 MB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.006587, allocations: 4 kB / 0.8817 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.205e-05/0.006669, allocations: 23.73 kB / 0.8817 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.006811, allocations: 52.05 kB / 0.8817 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.008145, allocations: 345.5 kB / 0.8821 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.008455, allocations: 223 kB / 0.8823 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.008619, allocations: 37.66 kB / 0.8823 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.008838, allocations: 123.8 kB / 0.8824 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.009005, allocations: 67.86 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.009049, allocations: 20 kB / 0.8825 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008717/0.009921, allocations: 351.4 kB / 0.8828 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.00997, allocations: 35.89 kB / 0.8829 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.558e-05/0.01007, allocations: 71.88 kB / 0.8829 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008009/0.01087, allocations: 398.7 kB / 0.8833 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01087, allocations: 0 / 0.8833 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01087, allocations: 0 / 0.8833 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.01088, allocations: 0 / 0.8833 GB, free: 1.066 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.0008559/0.01173, allocations: 0.5425 MB / 0.8839 GB, free: 492 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.01178, allocations: 12.03 kB / 0.8839 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.01346, allocations: 204.6 kB / 0.8841 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.01361, allocations: 124.5 kB / 0.8842 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.01372, allocations: 75.95 kB / 0.8843 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.01378, allocations: 16.38 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007829/0.01456, allocations: 302.9 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.01458, allocations: 192 / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.01462, allocations: 4.375 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.01463, allocations: 8.125 kB / 0.8846 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.015, allocations: 149 kB / 0.8847 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.01672, allocations: 0.7061 MB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.01812, allocations: 314.8 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.01833, allocations: 79.66 kB / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.01845, allocations: 23.98 kB / 0.8858 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.01849, allocations: 33.39 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 3.456e-06/0.01849, allocations: 0 / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.001487/0.01998, allocations: 367.7 kB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.02001, allocations: 51.41 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.02015, allocations: 185.9 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.0202, allocations: 25.7 kB / 0.8864 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.0203, allocations: 175 kB / 0.8866 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.02036, allocations: 51.53 kB / 0.8866 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.02048, allocations: 55.28 kB / 0.8867 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.02062, allocations: 0.4884 MB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.02083, allocations: 79.95 kB / 0.8873 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.02103, allocations: 80.48 kB / 0.8873 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.02136, allocations: 137.7 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02136, allocations: 0 / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008058/0.02217, allocations: 263 kB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.02219, allocations: 7.984 kB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.02219, allocations: 0 / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.02265, allocations: 82.62 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.02374, allocations: 131.8 kB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/0.02438, allocations: 0.8273 MB / 0.8887 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.0247, allocations: 31.81 kB / 0.8888 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.02474, allocations: 11.98 kB / 0.8888 GB, free: 11.2 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.0001548/0.02489, allocations: 168.5 kB / 0.8889 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.02497, allocations: 15.95 kB / 0.889 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/0.02591, allocations: 288.3 kB / 0.8892 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.02592, allocations: 3.938 kB / 0.8892 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.02593, allocations: 0 / 0.8892 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.02593, allocations: 3.984 kB / 0.8892 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.02806, allocations: 0.6717 MB / 0.8899 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.02807, allocations: 0 / 0.8899 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.02917, allocations: 123.9 kB / 0.89 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000381/0.02955, allocations: 75.62 kB / 0.8901 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.02959, allocations: 7.984 kB / 0.8901 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005448/0.03014, allocations: 0.8272 MB / 0.8909 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.03014, allocations: 0 / 0.8909 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.03092, allocations: 358.7 kB / 0.8912 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.03095, allocations: 7.953 kB / 0.8912 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.031, allocations: 8 kB / 0.8913 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.03132, allocations: 23.91 kB / 0.8913 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.03137, allocations: 15.92 kB / 0.8913 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.0314, allocations: 15.98 kB / 0.8913 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.03147, allocations: 138.3 kB / 0.8914 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.03147, allocations: 0 / 0.8914 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005996/0.03207, allocations: 131.6 kB / 0.8916 GB, free: 8.207 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.0005073/0.03258, allocations: 230.8 kB / 0.8918 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007749/0.03335, allocations: 194.9 kB / 0.892 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.03336, allocations: 0 / 0.892 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.03377, allocations: 108 kB / 0.8921 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.03421, allocations: 53.95 kB / 0.8921 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.03568, allocations: 337.7 kB / 0.8924 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.922e-05/0.03574, allocations: 72.38 kB / 0.8925 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002759/0.03602, allocations: 44.45 kB / 0.8926 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.03619, allocations: 36.45 kB / 0.8926 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/0.03619, allocations: 4 kB / 0.8926 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of Templates: time 0.01339/0.04958, allocations: 6.74 MB / 0.8992 GB, free: 432 kB / 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.2237069378606975]