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.001334/0.001334, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001473/0.001473, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9938/0.9938, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.594 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.242e-06/1.242e-06, allocations: 0 / 0.8115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.876e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002232/0.002251, allocations: 2.104 MB / 0.8136 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.003903, allocations: 1.65 MB / 0.8152 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.00396, allocations: 5.375 kB / 0.8152 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.986e-05/0.00401, allocations: 23.78 kB / 0.8152 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.004086, allocations: 52.17 kB / 0.8153 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.004794, allocations: 364.5 kB / 0.8156 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.004963, allocations: 235.4 kB / 0.8158 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.005078, allocations: 34.28 kB / 0.8159 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.005186, allocations: 123.8 kB / 0.816 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.005289, allocations: 73.16 kB / 0.8161 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.005313, allocations: 20 kB / 0.8161 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.005812, allocations: 408 kB / 0.8165 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.005846, allocations: 44.92 kB / 0.8165 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.0059, allocations: 63.89 kB / 0.8166 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.006328, allocations: 426.7 kB / 0.817 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.00633, allocations: 0.75 kB / 0.817 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.52e-07/0.006331, allocations: 0 / 0.817 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.006335, allocations: 0.7188 kB / 0.817 GB, free: 11.4 MB / 0.7292 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.0006981/0.007033, allocations: 0.5434 MB / 0.8175 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.007065, allocations: 8.031 kB / 0.8175 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.007373, allocations: 99.8 kB / 0.8176 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.007468, allocations: 125.4 kB / 0.8177 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.007543, allocations: 79.81 kB / 0.8178 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.007565, allocations: 12.38 kB / 0.8178 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.007822, allocations: 218 kB / 0.818 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00783, allocations: 192 / 0.818 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.007848, allocations: 4.375 kB / 0.818 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.007858, allocations: 8.125 kB / 0.818 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.007981, allocations: 80.47 kB / 0.8181 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.008793, allocations: 0.6096 MB / 0.8187 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.009514, allocations: 224.1 kB / 0.8189 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.009586, allocations: 44.8 kB / 0.819 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.009785, allocations: 69.27 kB / 0.819 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.009807, allocations: 33.98 kB / 0.8191 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.009808, allocations: 0 / 0.8191 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0006849/0.01049, allocations: 265.1 kB / 0.8193 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.01052, allocations: 55.41 kB / 0.8194 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.0106, allocations: 187.4 kB / 0.8195 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01062, allocations: 29.69 kB / 0.8196 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.091e-05/0.01068, allocations: 171 kB / 0.8197 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.01071, allocations: 47.59 kB / 0.8198 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.01076, allocations: 43.36 kB / 0.8198 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.01086, allocations: 0.4884 MB / 0.8203 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.01093, allocations: 47.98 kB / 0.8203 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.011, allocations: 43.97 kB / 0.8204 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.01114, allocations: 109.9 kB / 0.8205 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01114, allocations: 0 / 0.8205 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003453/0.01149, allocations: 213.7 kB / 0.8207 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.0115, allocations: 7.156 kB / 0.8207 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.0115, allocations: 4 kB / 0.8207 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002595/0.01176, allocations: 81.02 kB / 0.8208 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.01231, allocations: 112 kB / 0.8209 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003734/0.01269, allocations: 0.8161 MB / 0.8217 GB, free: 6.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.717e-05/0.01275, allocations: 16.7 kB / 0.8217 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01276, allocations: 4 kB / 0.8217 GB, free: 6.312 MB / 0.7292 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 8.199e-05/0.01285, allocations: 175.9 kB / 0.8219 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.01288, allocations: 15.89 kB / 0.8219 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.01323, allocations: 203.4 kB / 0.8221 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01324, allocations: 3.938 kB / 0.8221 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01324, allocations: 4.562 kB / 0.8221 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01324, allocations: 0 / 0.8221 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007522/0.014, allocations: 0.5875 MB / 0.8227 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.014, allocations: 0 / 0.8227 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.01454, allocations: 99.95 kB / 0.8228 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/0.01473, allocations: 79.62 kB / 0.8228 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01475, allocations: 3.984 kB / 0.8228 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003302/0.01508, allocations: 0.8274 MB / 0.8236 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01508, allocations: 8 kB / 0.8237 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.01542, allocations: 332.3 kB / 0.824 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.01544, allocations: 19.84 kB / 0.824 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01546, allocations: 11.98 kB / 0.824 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.01554, allocations: 7.938 kB / 0.824 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.01557, allocations: 19.91 kB / 0.824 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01558, allocations: 8 kB / 0.824 GB, free: 3.781 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.01563, allocations: 141.8 kB / 0.8242 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01563, allocations: 0 / 0.8242 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002789/0.0159, allocations: 131.5 kB / 0.8243 GB, free: 3.516 MB / 0.7292 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.0004353/0.01634, allocations: 242.7 kB / 0.8245 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.01669, allocations: 146.9 kB / 0.8247 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01669, allocations: 0 / 0.8247 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.01687, allocations: 100.2 kB / 0.8248 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01709, allocations: 42.38 kB / 0.8248 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.01775, allocations: 308.2 kB / 0.8251 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.01779, allocations: 67.84 kB / 0.8252 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.083e-05/0.01785, allocations: 26.52 kB / 0.8252 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.01788, allocations: 20.5 kB / 0.8252 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.01788, allocations: 0 / 0.8252 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.005595/0.02348, allocations: 4.512 MB / 0.8296 GB, free: 14.08 MB / 0.7448 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.962644330924377]