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.001189/0.001189, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001442/0.001442, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9623/0.9623, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.758/1.758, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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.172e-06/1.172e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.212e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002097/0.002109, allocations: 2.09 MB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.003584, allocations: 1.446 MB / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.003634, allocations: 0 / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.003679, allocations: 17.11 kB / 0.8163 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.003757, allocations: 57.61 kB / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.004396, allocations: 338.7 kB / 0.8166 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.004562, allocations: 235.5 kB / 0.8169 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004664, allocations: 34.36 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.004773, allocations: 127.8 kB / 0.817 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004873, allocations: 64.34 kB / 0.8171 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.004897, allocations: 21.56 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.005346, allocations: 355.4 kB / 0.8174 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.005384, allocations: 43.88 kB / 0.8175 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.005435, allocations: 68.45 kB / 0.8175 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.005824, allocations: 399.7 kB / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.005825, allocations: 0 / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.005825, allocations: 0 / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.005829, allocations: 0.7188 kB / 0.8179 GB, free: 12.21 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.0004911/0.00632, allocations: 0.5405 MB / 0.8184 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.006347, allocations: 8.031 kB / 0.8185 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002772/0.006624, allocations: 95.45 kB / 0.8185 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.006707, allocations: 128.4 kB / 0.8187 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.006765, allocations: 73.17 kB / 0.8187 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.006786, allocations: 20.31 kB / 0.8188 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.006982, allocations: 204.6 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.00699, allocations: 192 / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.007005, allocations: 4.375 kB / 0.819 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.007012, allocations: 10.44 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.00709, allocations: 60.53 kB / 0.819 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.007785, allocations: 0.5795 MB / 0.8196 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.008436, allocations: 210.3 kB / 0.8198 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.008486, allocations: 40.59 kB / 0.8198 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.008665, allocations: 65.56 kB / 0.8199 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.008686, allocations: 41.33 kB / 0.8199 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.008687, allocations: 1.156 kB / 0.8199 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0005682/0.009255, allocations: 233.4 kB / 0.8202 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.009276, allocations: 52.06 kB / 0.8202 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.009356, allocations: 192.5 kB / 0.8204 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.009373, allocations: 25.7 kB / 0.8204 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.009439, allocations: 180.1 kB / 0.8206 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.009468, allocations: 55.52 kB / 0.8206 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.009518, allocations: 43.34 kB / 0.8207 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.009618, allocations: 0.4962 MB / 0.8212 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.009665, allocations: 35.97 kB / 0.8212 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.009711, allocations: 31.98 kB / 0.8212 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.009807, allocations: 85.33 kB / 0.8213 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.009808, allocations: 0 / 0.8213 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002857/0.01009, allocations: 190.6 kB / 0.8215 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01011, allocations: 8.922 kB / 0.8215 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.01011, allocations: 0 / 0.8215 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/0.01033, allocations: 78.97 kB / 0.8216 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.01088, allocations: 103.7 kB / 0.8217 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003433/0.01122, allocations: 0.8195 MB / 0.8225 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.727e-05/0.01129, allocations: 20.89 kB / 0.8225 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.0113, allocations: 11.92 kB / 0.8225 GB, free: 7.281 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.951e-05/0.01138, allocations: 161.7 kB / 0.8227 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.01141, allocations: 15.91 kB / 0.8227 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.01171, allocations: 184.1 kB / 0.8228 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01171, allocations: 4 kB / 0.8229 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.01172, allocations: 3.938 kB / 0.8229 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01172, allocations: 3.984 kB / 0.8229 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.0124, allocations: 0.5566 MB / 0.8234 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01241, allocations: 0 / 0.8234 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.01293, allocations: 96.02 kB / 0.8235 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.0131, allocations: 83.55 kB / 0.8236 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01311, allocations: 4 kB / 0.8236 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000322/0.01344, allocations: 0.8195 MB / 0.8244 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01344, allocations: 4 kB / 0.8244 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.01373, allocations: 334.8 kB / 0.8247 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.01374, allocations: 7.953 kB / 0.8247 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01376, allocations: 3.984 kB / 0.8247 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.01384, allocations: 12 kB / 0.8247 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.01387, allocations: 15.91 kB / 0.8247 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01388, allocations: 4 kB / 0.8247 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.01392, allocations: 142.4 kB / 0.8249 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01392, allocations: 0 / 0.8249 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002671/0.01419, allocations: 131.5 kB / 0.825 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.0002724/0.01446, allocations: 238.8 kB / 0.8252 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002882/0.01475, allocations: 154.8 kB / 0.8254 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01475, allocations: 0 / 0.8254 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.01491, allocations: 84.06 kB / 0.8255 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.01512, allocations: 41.8 kB / 0.8255 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.01565, allocations: 317.1 kB / 0.8258 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01568, allocations: 68.09 kB / 0.8259 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.774e-05/0.01574, allocations: 19.77 kB / 0.8259 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.01584, allocations: 106.2 kB / 0.826 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01584, allocations: 0 / 0.826 GB, free: 3.516 MB / 0.7761 GB Notification: Performance of Templates: time 0.00598/0.02182, allocations: 5.123 MB / 0.831 GB, free: 14.46 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.7987772510387]