Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 182.4 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.89 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7408, allocations: 160.8 MB / 1.218 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003742/0.7445, allocations: 2.066 MB / 1.22 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.7473, allocations: 1.684 MB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.7474, allocations: 2.625 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.856e-05/0.7474, allocations: 21.08 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.7475, allocations: 49.67 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.7487, allocations: 354.8 kB / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.749, allocations: 221.6 kB / 1.223 GB, free: 304 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.7491, allocations: 39.78 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.7492, allocations: 89.33 kB / 1.223 GB, free: 224 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.7494, allocations: 81.28 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.7494, allocations: 18 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009327/0.7503, allocations: 425.7 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.7504, allocations: 41.94 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.7505, allocations: 85.41 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007113/0.7512, allocations: 427.8 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7512, allocations: 3.938 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.617e-06/0.7512, allocations: 7.984 kB / 1.224 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7512, allocations: 0 / 1.224 GB, free: 15.6 MB / 0.9356 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.000908/0.7521, allocations: 0.519 MB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.7522, allocations: 8.906 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.7527, allocations: 94.64 kB / 1.225 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.7529, allocations: 188.3 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.753, allocations: 46.95 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.753, allocations: 13.88 kB / 1.225 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004339/0.7535, allocations: 187.4 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.7535, allocations: 3.938 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.7535, allocations: 10.12 kB / 1.225 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.7535, allocations: 3.438 kB / 1.225 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.754, allocations: 174.8 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.7555, allocations: 0.9173 MB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.756, allocations: 156.7 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.7562, allocations: 77.09 kB / 1.226 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007175/0.7569, allocations: 0.5208 MB / 1.227 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.7569, allocations: 31.84 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.7569, allocations: 4 kB / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007089/0.7576, allocations: 235.8 kB / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.7577, allocations: 53.44 kB / 1.227 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.7578, allocations: 159.7 kB / 1.227 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.7579, allocations: 31.2 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.77e-05/0.758, allocations: 122 kB / 1.227 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.758, allocations: 49.86 kB / 1.227 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.7581, allocations: 42.16 kB / 1.227 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7582, allocations: 322.6 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.7584, allocations: 75.89 kB / 1.228 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.7587, allocations: 93.45 kB / 1.228 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.7591, allocations: 145.6 kB / 1.228 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.7591, allocations: 5.281 kB / 1.228 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005018/0.7596, allocations: 221.7 kB / 1.228 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7596, allocations: 4.562 kB / 1.228 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7596, allocations: 5.344 kB / 1.228 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7596, allocations: 1.188 kB / 1.228 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.7599, allocations: 35.72 kB / 1.228 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7599, allocations: 5.188 kB / 1.228 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.76, allocations: 25.06 kB / 1.228 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.7601, allocations: 4.062 kB / 1.228 GB, free: 11.69 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.7602, allocations: 136.6 kB / 1.228 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.7603, allocations: 18.5 kB / 1.228 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005182/0.7608, allocations: 199.8 kB / 1.229 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7608, allocations: 1.312 kB / 1.229 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7608, allocations: 0 / 1.229 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.7608, allocations: 3.984 kB / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.7624, allocations: 0.982 MB / 1.23 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7624, allocations: 1.156 kB / 1.23 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.7626, allocations: 33.88 kB / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7626, allocations: 1.5 kB / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.7626, allocations: 2.688 kB / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7626, allocations: 1.281 kB / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7626, allocations: 0 / 1.23 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.7631, allocations: 296.2 kB / 1.23 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.7632, allocations: 93.11 kB / 1.23 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.7632, allocations: 6.125 kB / 1.23 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.7634, allocations: 15.53 kB / 1.23 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.7635, allocations: 16.8 kB / 1.23 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7635, allocations: 3.594 kB / 1.23 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.249e-05/0.7636, allocations: 123.1 kB / 1.23 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.7636, allocations: 0 / 1.23 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005152/0.7641, allocations: 126 kB / 1.23 GB, free: 9.918 MB / 0.9356 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004274/0.7645, allocations: 237.1 kB / 1.231 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.765, allocations: 165.1 kB / 1.231 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.765, allocations: 0 / 1.231 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.7652, allocations: 71.69 kB / 1.231 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.7656, allocations: 43.66 kB / 1.231 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.7664, allocations: 329.7 kB / 1.231 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.7667, allocations: 0.7085 MB / 1.232 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.7669, allocations: 29.02 kB / 1.232 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.767, allocations: 23.19 kB / 1.232 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.767, allocations: 0 / 1.232 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.008987/0.7759, allocations: 4.401 MB / 1.236 GB, free: 4.477 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.407766784541309]