Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008456/0.0008456, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007816/0.0007816, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8412/0.8412, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.695/1.695, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.491e-05, allocations: 4.672 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002188/0.002213, allocations: 1.978 MB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.003797, allocations: 1.522 MB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.003849, allocations: 4 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.154e-05/0.0039, allocations: 19.78 kB / 1.004 GB, free: 9.496 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.043e-05/0.003981, allocations: 59.42 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.004702, allocations: 362.6 kB / 1.005 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.00487, allocations: 227 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.005005, allocations: 37.66 kB / 1.005 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.005116, allocations: 123.8 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.005217, allocations: 71.78 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.005242, allocations: 20 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/0.005876, allocations: 403.4 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.005909, allocations: 47.81 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.82e-05/0.005958, allocations: 63.89 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004379/0.006395, allocations: 486.7 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.006397, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.72e-07/0.006398, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.006402, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 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.000575/0.006977, allocations: 457.2 kB / 1.007 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.007012, allocations: 8.031 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.008376, allocations: 324.4 kB / 1.007 GB, free: 6.816 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.008466, allocations: 125.6 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-05/0.008556, allocations: 75.95 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.00859, allocations: 16.38 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.009354, allocations: 382.8 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.009366, allocations: 4.125 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.009396, allocations: 12.38 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.009405, allocations: 8.125 kB / 1.008 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.01046, allocations: 368.2 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01154, allocations: 0.7183 MB / 1.009 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/0.01372, allocations: 0.6423 MB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.01427, allocations: 200.7 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.022e-05/0.01435, allocations: 15.98 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.01437, allocations: 34.56 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.01437, allocations: 0 / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.002182/0.01655, allocations: 0.7141 MB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.01658, allocations: 55.69 kB / 1.01 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.01667, allocations: 132.8 kB / 1.01 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.0167, allocations: 29.7 kB / 1.01 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.01676, allocations: 124.3 kB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.0168, allocations: 55.53 kB / 1.01 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-05/0.01687, allocations: 49.67 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.01695, allocations: 314.8 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.01749, allocations: 207.8 kB / 1.011 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.01802, allocations: 203.8 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009727/0.01899, allocations: 346.5 kB / 1.012 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01899, allocations: 0 / 1.012 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001278/0.02027, allocations: 0.5058 MB / 1.012 GB, free: 1.367 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.02029, allocations: 4 kB / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.0203, allocations: 4 kB / 1.012 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.02065, allocations: 128.7 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.02137, allocations: 151.8 kB / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006195/0.02199, allocations: 0.6304 MB / 1.013 GB, free: 436 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.02226, allocations: 67.8 kB / 1.013 GB, free: 368 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.02228, allocations: 11.98 kB / 1.013 GB, free: 356 kB / 0.9636 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 9.847e-05/0.02238, allocations: 125.8 kB / 1.013 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.02241, allocations: 7.953 kB / 1.013 GB, free: 212 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.02378, allocations: 0.5275 MB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.02379, allocations: 3.938 kB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.02379, allocations: 0 / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.02379, allocations: 4 kB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.02603, allocations: 0.9686 MB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02603, allocations: 0 / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.02671, allocations: 139.9 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.02698, allocations: 130.8 kB / 1.015 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.027, allocations: 7.984 kB / 1.015 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004096/0.02741, allocations: 0.6303 MB / 1.016 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02741, allocations: 0 / 1.016 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.02866, allocations: 0.5562 MB / 1.016 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.02867, allocations: 11.89 kB / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.0287, allocations: 8 kB / 1.016 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/0.02899, allocations: 63.86 kB / 1.016 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.02902, allocations: 11.97 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.02904, allocations: 7.984 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.02907, allocations: 103.3 kB / 1.016 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.02907, allocations: 3.938 kB / 1.016 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003379/0.02941, allocations: 131.6 kB / 1.016 GB, free: 12.81 MB / 0.9792 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.0003209/0.02973, allocations: 234.7 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.03104, allocations: 449.4 kB / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03104, allocations: 0 / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006752/0.03171, allocations: 239.8 kB / 1.017 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.03202, allocations: 31.91 kB / 1.017 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.03322, allocations: 0.5095 MB / 1.018 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.562e-05/0.03329, allocations: 94.78 kB / 1.018 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.03339, allocations: 36.45 kB / 1.018 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of SimCode: time 7.11e-07/0.0334, allocations: 3.938 kB / 1.018 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of Templates: time 0.005332/0.03873, allocations: 4.973 MB / 1.023 GB, free: 6.219 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: 6.616867960430682]