Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001104/0.001104, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.00285, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001169/0.001169, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001811/0.002981, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9419/0.9419, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08231/1.024, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.818/1.818, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4898/2.308, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.295e-05, allocations: 2.938 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003586/0.003609, allocations: 2.152 MB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.006143, allocations: 1.474 MB / 0.7332 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.006214, allocations: 4 kB / 0.7332 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.132e-05/0.006285, allocations: 19.78 kB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.006402, allocations: 56.3 kB / 0.7333 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009196/0.007322, allocations: 317.8 kB / 0.7336 GB, free: 440 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.007582, allocations: 227 kB / 0.7338 GB, free: 212 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.007738, allocations: 46.23 kB / 0.7338 GB, free: 160 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.007933, allocations: 127.8 kB / 0.734 GB, free: 32 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.008112, allocations: 68.34 kB / 0.734 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.008151, allocations: 16 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000794/0.008945, allocations: 392.5 kB / 0.7344 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.00899, allocations: 32.45 kB / 0.7344 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.009061, allocations: 57 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.009631, allocations: 343 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.009645, allocations: 0 / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009646, allocations: 0.7188 kB / 0.7348 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.009664, allocations: 3.938 kB / 0.7348 GB, free: 15.14 MB / 0.7136 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.0008383/0.0105, allocations: 485 kB / 0.7353 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01055, allocations: 8.625 kB / 0.7353 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.01098, allocations: 148.2 kB / 0.7354 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.01111, allocations: 121.6 kB / 0.7356 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.265e-05/0.0112, allocations: 79.83 kB / 0.7356 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.01123, allocations: 13.06 kB / 0.7356 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.01155, allocations: 204.5 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01156, allocations: 192 / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.01159, allocations: 8.375 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.0116, allocations: 9.5 kB / 0.7359 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01171, allocations: 52.44 kB / 0.7359 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01273, allocations: 440.1 kB / 0.7363 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008578/0.01359, allocations: 198.9 kB / 0.7365 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.01364, allocations: 28.86 kB / 0.7365 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.01382, allocations: 74.41 kB / 0.7366 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.01385, allocations: 34.56 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.01385, allocations: 0 / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.00051/0.01436, allocations: 203.3 kB / 0.7368 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.01438, allocations: 55.41 kB / 0.7369 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.01445, allocations: 127.3 kB / 0.737 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01447, allocations: 29.7 kB / 0.737 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.01452, allocations: 125 kB / 0.7372 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.01455, allocations: 55.52 kB / 0.7372 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.0146, allocations: 46.28 kB / 0.7373 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.01468, allocations: 318.8 kB / 0.7376 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.962e-05/0.01472, allocations: 30.08 kB / 0.7376 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.072e-05/0.01476, allocations: 34.05 kB / 0.7376 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.922e-05/0.01485, allocations: 74.86 kB / 0.7377 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01485, allocations: 0 / 0.7377 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002387/0.01509, allocations: 164.7 kB / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0151, allocations: 4 kB / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.0151, allocations: 0 / 0.7379 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.01533, allocations: 80.16 kB / 0.7379 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.01586, allocations: 123.5 kB / 0.7381 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003308/0.01619, allocations: 0.5551 MB / 0.7386 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.01625, allocations: 19.88 kB / 0.7386 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.01626, allocations: 4 kB / 0.7386 GB, free: 11.06 MB / 0.7136 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.502e-05/0.01634, allocations: 123.7 kB / 0.7387 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.01636, allocations: 11.98 kB / 0.7387 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.01664, allocations: 160 kB / 0.7389 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01664, allocations: 4 kB / 0.7389 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01664, allocations: 4.594 kB / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01665, allocations: 4.625 kB / 0.7389 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005831/0.01723, allocations: 440 kB / 0.7393 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01723, allocations: 1.5 kB / 0.7393 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.01773, allocations: 115.1 kB / 0.7394 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.01774, allocations: 11.89 kB / 0.7395 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/0.01791, allocations: 78.97 kB / 0.7395 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01792, allocations: 4 kB / 0.7395 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004375/0.01836, allocations: 0.5586 MB / 0.7401 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01836, allocations: 4 kB / 0.7401 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.0186, allocations: 243.2 kB / 0.7403 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.01863, allocations: 8.75 kB / 0.7403 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.0187, allocations: 6.438 kB / 0.7403 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.01873, allocations: 19.91 kB / 0.7403 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.01874, allocations: 4 kB / 0.7404 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.01876, allocations: 22.91 kB / 0.7404 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.01876, allocations: 0 / 0.7404 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003032/0.01907, allocations: 135.5 kB / 0.7405 GB, free: 9.051 MB / 0.7136 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.0003533/0.01942, allocations: 229.3 kB / 0.7407 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01971, allocations: 130.3 kB / 0.7408 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.01972, allocations: 0 / 0.7408 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.01988, allocations: 102.2 kB / 0.7409 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.02016, allocations: 233.9 kB / 0.7412 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.02245, allocations: 330.1 kB / 0.7415 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.02249, allocations: 71.7 kB / 0.7415 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.929e-05/0.02256, allocations: 21.23 kB / 0.7416 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.02266, allocations: 87.28 kB / 0.7417 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.02266, allocations: 4 kB / 0.7417 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.006189/0.02885, allocations: 5.02 MB / 0.7466 GB, free: 2.941 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.855313501320779]