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.000954/0.000954, 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.001533/0.001533, 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 0.8894/0.8894, allocations: 177.1 MB / 204.2 MB, free: 5.395 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.759/1.759, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.343e-06/1.343e-06, allocations: 0.6562 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.318e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002146/0.002159, allocations: 2.111 MB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.003618, allocations: 1.451 MB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.003665, allocations: 4 kB / 0.815 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.99e-05/0.003715, allocations: 19.78 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.003795, allocations: 53.25 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.004574, allocations: 348.1 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.005007, allocations: 231 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.005118, allocations: 34.19 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.005232, allocations: 129.2 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.005336, allocations: 67.84 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.005361, allocations: 23.94 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.005844, allocations: 354 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.00588, allocations: 43.88 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.005939, allocations: 67.89 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.006354, allocations: 398.8 kB / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006356, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006356, allocations: 0 / 0.8167 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.00636, allocations: 0.5312 kB / 0.8167 GB, free: 12.45 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.0005782/0.006938, allocations: 0.5398 MB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.006973, allocations: 9.688 kB / 0.8172 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.00726, allocations: 94.64 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.007348, allocations: 128.9 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.141e-05/0.007419, allocations: 71.97 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.00744, allocations: 13.5 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.007698, allocations: 223.5 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.007706, allocations: 5.094 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.007724, allocations: 4.375 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.007735, allocations: 8.969 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.00785, allocations: 76.53 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.008646, allocations: 0.6007 MB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006794/0.009325, allocations: 221.7 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.642e-05/0.009392, allocations: 45.14 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.00958, allocations: 64.44 kB / 0.8187 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.0096, allocations: 35.27 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.009602, allocations: 0 / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0006448/0.01025, allocations: 259.1 kB / 0.819 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.01027, allocations: 52.47 kB / 0.8191 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.01035, allocations: 191.4 kB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.01037, allocations: 25.7 kB / 0.8193 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.01043, allocations: 171.7 kB / 0.8194 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.01046, allocations: 55.52 kB / 0.8195 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.01051, allocations: 39.89 kB / 0.8195 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.0106, allocations: 0.4959 MB / 0.82 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.059e-05/0.01067, allocations: 55.91 kB / 0.8201 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.01074, allocations: 47.91 kB / 0.8201 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.01087, allocations: 101.9 kB / 0.8202 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01087, allocations: 0 / 0.8202 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003255/0.0112, allocations: 214.7 kB / 0.8204 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.01121, allocations: 4 kB / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.01121, allocations: 0 / 0.8204 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.01145, allocations: 82.05 kB / 0.8205 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.012, allocations: 112.4 kB / 0.8206 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000361/0.01236, allocations: 0.8195 MB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.01243, allocations: 21.41 kB / 0.8214 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01244, allocations: 4 kB / 0.8214 GB, free: 7.367 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 7.423e-05/0.01251, allocations: 164.6 kB / 0.8216 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.01254, allocations: 16.5 kB / 0.8216 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.01289, allocations: 208.3 kB / 0.8218 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01289, allocations: 7.938 kB / 0.8218 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01289, allocations: 0 / 0.8218 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01289, allocations: 4 kB / 0.8218 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.01361, allocations: 0.586 MB / 0.8224 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01361, allocations: 0 / 0.8224 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.01413, allocations: 91.95 kB / 0.8225 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.01431, allocations: 79.67 kB / 0.8226 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.01456, allocations: 8 kB / 0.8226 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003177/0.01488, allocations: 0.8273 MB / 0.8234 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01488, allocations: 0 / 0.8234 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.0152, allocations: 342.6 kB / 0.8237 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.01521, allocations: 11.89 kB / 0.8237 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01523, allocations: 12 kB / 0.8237 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.01531, allocations: 11.92 kB / 0.8237 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.01534, allocations: 7.984 kB / 0.8237 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01535, allocations: 8 kB / 0.8238 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.206e-05/0.01539, allocations: 142.4 kB / 0.8239 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01539, allocations: 0 / 0.8239 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002595/0.01565, allocations: 135.5 kB / 0.824 GB, free: 4.59 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.0002798/0.01593, allocations: 234.8 kB / 0.8242 GB, free: 4.352 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.01629, allocations: 160.2 kB / 0.8244 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0163, allocations: 4 kB / 0.8244 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.01647, allocations: 94.17 kB / 0.8245 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01669, allocations: 37.64 kB / 0.8245 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.01731, allocations: 319.1 kB / 0.8248 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.01735, allocations: 79.95 kB / 0.8249 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.947e-05/0.01741, allocations: 20.33 kB / 0.8249 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.01744, allocations: 24.48 kB / 0.8249 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.01744, allocations: 0 / 0.8249 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of Templates: time 0.006334/0.02378, allocations: 4.995 MB / 0.8298 GB, free: 14.64 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: 4.791542903985828]