Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009069/0.0009069, allocations: 161 kB / 23.82 MB, free: 0.7539 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 1.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.874/1.874, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.436e-05, allocations: 11.78 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002724/0.002748, allocations: 2.108 MB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.004656, allocations: 1.442 MB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.004719, allocations: 4 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.289e-05/0.004782, allocations: 20.97 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.004883, allocations: 56.02 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009401/0.005823, allocations: 345 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.006028, allocations: 231 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.006162, allocations: 44.19 kB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.006278, allocations: 115.8 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.006402, allocations: 75.78 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.006432, allocations: 20 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.006976, allocations: 343.5 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.007015, allocations: 48.55 kB / 0.8163 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.007078, allocations: 67.88 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.007546, allocations: 411.2 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007549, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.00755, allocations: 1.125 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.007555, allocations: 0 / 0.8167 GB, free: 12.43 MB / 0.7761 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.000693/0.008248, allocations: 0.5361 MB / 0.8172 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.00829, allocations: 8.875 kB / 0.8172 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003266/0.008616, allocations: 99.31 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.008724, allocations: 120.5 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/0.008807, allocations: 78.39 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.008839, allocations: 20.36 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.009112, allocations: 215.6 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.00912, allocations: 192 / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.00914, allocations: 8.375 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.009151, allocations: 9.969 kB / 0.8178 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.00927, allocations: 76.53 kB / 0.8178 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.01012, allocations: 0.5985 MB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.01085, allocations: 223.7 kB / 0.8186 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.01092, allocations: 47.67 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/0.01113, allocations: 65.28 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.01116, allocations: 33.39 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.01116, allocations: 0.7188 kB / 0.8188 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0007224/0.01188, allocations: 259.4 kB / 0.819 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.0119, allocations: 51.41 kB / 0.8191 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.012, allocations: 185.9 kB / 0.8193 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.01202, allocations: 33.7 kB / 0.8193 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.01209, allocations: 167 kB / 0.8194 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.01213, allocations: 59.52 kB / 0.8195 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.01219, allocations: 43.34 kB / 0.8195 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.01231, allocations: 0.4903 MB / 0.82 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.01239, allocations: 47.97 kB / 0.8201 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.01246, allocations: 47.97 kB / 0.8201 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.01271, allocations: 102.2 kB / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01272, allocations: 0 / 0.8202 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003589/0.01308, allocations: 211.1 kB / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01309, allocations: 10.44 kB / 0.8204 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.0131, allocations: 0 / 0.8204 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.0134, allocations: 80.14 kB / 0.8205 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.01396, allocations: 105.9 kB / 0.8206 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000424/0.01438, allocations: 0.8195 MB / 0.8214 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.01446, allocations: 23.81 kB / 0.8214 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01447, allocations: 4 kB / 0.8214 GB, free: 7.355 MB / 0.7761 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 9.544e-05/0.01456, allocations: 172.5 kB / 0.8216 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.0146, allocations: 19.84 kB / 0.8216 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.01497, allocations: 198.2 kB / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.01498, allocations: 7.922 kB / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01498, allocations: 3.938 kB / 0.8218 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01499, allocations: 4 kB / 0.8218 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007995/0.01579, allocations: 0.586 MB / 0.8224 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01579, allocations: 0 / 0.8224 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.01633, allocations: 100 kB / 0.8225 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.01653, allocations: 83.55 kB / 0.8226 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.01655, allocations: 4 kB / 0.8226 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003629/0.01691, allocations: 0.8195 MB / 0.8234 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01691, allocations: 0 / 0.8234 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.01726, allocations: 352.6 kB / 0.8237 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.01727, allocations: 7.953 kB / 0.8237 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.0173, allocations: 0 / 0.8237 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.01738, allocations: 19.92 kB / 0.8237 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.01741, allocations: 7.984 kB / 0.8237 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.01742, allocations: 15.98 kB / 0.8238 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.01747, allocations: 135.2 kB / 0.8239 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01747, allocations: 0 / 0.8239 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003128/0.01778, allocations: 131.5 kB / 0.824 GB, free: 4.574 MB / 0.7761 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.0003443/0.01813, allocations: 250.6 kB / 0.8242 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.01852, allocations: 156.9 kB / 0.8244 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01852, allocations: 0 / 0.8244 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.0187, allocations: 96.17 kB / 0.8245 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.01894, allocations: 35.97 kB / 0.8245 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.01963, allocations: 322.9 kB / 0.8248 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.01967, allocations: 68.09 kB / 0.8249 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.01973, allocations: 16.41 kB / 0.8249 GB, free: 3.582 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.01977, allocations: 24.48 kB / 0.8249 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01977, allocations: 0 / 0.8249 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of Templates: time 0.006026/0.0258, allocations: 4.506 MB / 0.8293 GB, free: 15.12 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.454270622693002]