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.001699/0.001699, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001654/0.001654, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.533/1.533, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.913/2.913, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.493e-06/1.493e-06, allocations: 0 / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.145e-05, allocations: 4.703 kB / 0.8108 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003733/0.003764, allocations: 1.985 MB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.006994, allocations: 1.526 MB / 0.8142 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.007123, allocations: 5.75 kB / 0.8142 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.887e-05/0.007211, allocations: 19.78 kB / 0.8143 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.007379, allocations: 55.48 kB / 0.8143 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.0089, allocations: 368.8 kB / 0.8147 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.009275, allocations: 228.1 kB / 0.8149 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.009433, allocations: 37.58 kB / 0.8149 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.009674, allocations: 119.8 kB / 0.815 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.009854, allocations: 76.61 kB / 0.8151 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.009896, allocations: 20 kB / 0.8151 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.01095, allocations: 409.5 kB / 0.8155 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.01101, allocations: 39.89 kB / 0.8155 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.01112, allocations: 71.83 kB / 0.8156 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009379/0.01206, allocations: 482.6 kB / 0.8161 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.01207, allocations: 8.516 kB / 0.8161 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.482e-06/0.01207, allocations: 0.7188 kB / 0.8161 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.01208, allocations: 4 kB / 0.8161 GB, free: 11.55 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.001092/0.01318, allocations: 451.3 kB / 0.8165 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.01323, allocations: 11.97 kB / 0.8165 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.01392, allocations: 108.5 kB / 0.8166 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.01409, allocations: 121.6 kB / 0.8167 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.01421, allocations: 73.19 kB / 0.8168 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.01426, allocations: 16.38 kB / 0.8168 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.01483, allocations: 240 kB / 0.8171 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.01484, allocations: 192 / 0.8171 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.01487, allocations: 8.375 kB / 0.8171 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.01489, allocations: 14.42 kB / 0.8171 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.01525, allocations: 123.9 kB / 0.8172 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.01687, allocations: 0.5908 MB / 0.8178 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.01906, allocations: 325.9 kB / 0.8181 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.01929, allocations: 81.81 kB / 0.8182 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/0.01983, allocations: 78.17 kB / 0.8182 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.01987, allocations: 35.59 kB / 0.8183 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.733e-06/0.01987, allocations: 0 / 0.8183 GB, free: 9.195 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.001856/0.02172, allocations: 395.9 kB / 0.8187 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.0219, allocations: 56.66 kB / 0.8187 GB, free: 8.742 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.02205, allocations: 130 kB / 0.8188 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.02209, allocations: 33.14 kB / 0.8189 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.02221, allocations: 124.4 kB / 0.819 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.02227, allocations: 51.52 kB / 0.819 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.02237, allocations: 37.7 kB / 0.8191 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.02257, allocations: 322.8 kB / 0.8194 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.02283, allocations: 75.97 kB / 0.8194 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.02305, allocations: 79.95 kB / 0.8195 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.02351, allocations: 160.4 kB / 0.8197 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.02351, allocations: 1.531 kB / 0.8197 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00102/0.02453, allocations: 300.4 kB / 0.82 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.02455, allocations: 11.98 kB / 0.82 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.02455, allocations: 0 / 0.82 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.02519, allocations: 121.5 kB / 0.8201 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.0264, allocations: 103.9 kB / 0.8202 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.02743, allocations: 0.6265 MB / 0.8208 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.02764, allocations: 27.86 kB / 0.8208 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.02766, allocations: 4 kB / 0.8208 GB, free: 6.5 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 0.0001613/0.02782, allocations: 125.8 kB / 0.821 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.02789, allocations: 19.88 kB / 0.821 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/0.02888, allocations: 281.5 kB / 0.8212 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.02889, allocations: 3.938 kB / 0.8212 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.02889, allocations: 4 kB / 0.8212 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.0289, allocations: 0 / 0.8212 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.03092, allocations: 0.6501 MB / 0.8219 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.03093, allocations: 4 kB / 0.8219 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.03208, allocations: 104 kB / 0.822 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000527/0.03261, allocations: 126.3 kB / 0.8221 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.03263, allocations: 7.938 kB / 0.8221 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009423/0.03357, allocations: 0.6265 MB / 0.8227 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.03358, allocations: 0 / 0.8227 GB, free: 4.465 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009981/0.03457, allocations: 367.8 kB / 0.8231 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.0346, allocations: 11.89 kB / 0.8231 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.03464, allocations: 4 kB / 0.8231 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.03487, allocations: 19.92 kB / 0.8231 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.03493, allocations: 19.97 kB / 0.8231 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.03494, allocations: 8 kB / 0.8231 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.546e-05/0.03503, allocations: 95.27 kB / 0.8232 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.03503, allocations: 4 kB / 0.8232 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005738/0.0356, allocations: 131.6 kB / 0.8234 GB, free: 3.793 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.00064/0.03624, allocations: 250.9 kB / 0.8236 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.03725, allocations: 219.2 kB / 0.8238 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.03725, allocations: 0 / 0.8238 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006383/0.03789, allocations: 136 kB / 0.8239 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.03832, allocations: 38.12 kB / 0.824 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.03923, allocations: 323.6 kB / 0.8243 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.03937, allocations: 98.77 kB / 0.8244 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.03949, allocations: 24.66 kB / 0.8244 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.03956, allocations: 20.48 kB / 0.8244 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.03956, allocations: 0 / 0.8244 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of Templates: time 0.01077/0.05032, allocations: 4.5 MB / 0.8288 GB, free: 14.23 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.43998428597115]