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.001386/0.001386, allocations: 82.41 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001428/0.001428, allocations: 163.2 kB / 23.01 MB, free: 4.594 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.782/2.782, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/0.8683, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002703/0.871, allocations: 1.991 MB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.873, allocations: 1.522 MB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.873, allocations: 2.656 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.082e-05/0.8731, allocations: 18.42 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/0.8732, allocations: 50.27 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008865/0.8741, allocations: 362.3 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.8742, allocations: 213.2 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.8744, allocations: 44.23 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.8745, allocations: 83.92 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.8746, allocations: 76.2 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.8746, allocations: 18.59 kB / 1.158 GB, free: 30.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.8753, allocations: 404.8 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.8753, allocations: 44.25 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.8754, allocations: 76.52 kB / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.8758, allocations: 432.8 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8758, allocations: 0 / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.173e-06/0.8758, allocations: 0 / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.8758, allocations: 0 / 1.159 GB, free: 30.26 MB / 1.076 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.0006881/0.8765, allocations: 465.7 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.8766, allocations: 8.625 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.8771, allocations: 90.31 kB / 1.16 GB, free: 29.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.8772, allocations: 128 kB / 1.16 GB, free: 29.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/0.8773, allocations: 78.55 kB / 1.16 GB, free: 29.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.8773, allocations: 13.53 kB / 1.16 GB, free: 29.65 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.8777, allocations: 244.7 kB / 1.16 GB, free: 29.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.8777, allocations: 3.938 kB / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.8777, allocations: 10.75 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.8777, allocations: 2.969 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.878, allocations: 128.3 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.8791, allocations: 0.6079 MB / 1.161 GB, free: 29.03 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.8811, allocations: 330 kB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.8813, allocations: 79.81 kB / 1.161 GB, free: 28.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004385/0.8817, allocations: 72.17 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.8818, allocations: 30.56 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.8818, allocations: 4 kB / 1.161 GB, free: 28.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001556/0.8833, allocations: 396.8 kB / 1.162 GB, free: 28.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.8833, allocations: 51.41 kB / 1.162 GB, free: 28.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.776e-05/0.8834, allocations: 129 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.8834, allocations: 29.7 kB / 1.162 GB, free: 28.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.8835, allocations: 121 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.8835, allocations: 55.44 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.8836, allocations: 37.33 kB / 1.162 GB, free: 28.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.8836, allocations: 321 kB / 1.162 GB, free: 28.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.8838, allocations: 88.3 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.884, allocations: 78.92 kB / 1.163 GB, free: 27.96 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.8844, allocations: 167.7 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8844, allocations: 0 / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008255/0.8852, allocations: 285.6 kB / 1.163 GB, free: 27.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8852, allocations: 5.812 kB / 1.163 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8852, allocations: 3.984 kB / 1.163 GB, free: 27.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005322/0.8857, allocations: 117.9 kB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.887, allocations: 109.2 kB / 1.163 GB, free: 27.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006875/0.8877, allocations: 0.6363 MB / 1.164 GB, free: 27.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.8879, allocations: 17.08 kB / 1.164 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.8879, allocations: 9.031 kB / 1.164 GB, free: 27.15 MB / 1.076 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.112e-05/0.888, allocations: 127.2 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.888, allocations: 9.328 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/0.8888, allocations: 294.1 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8888, allocations: 0 / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8888, allocations: 2.938 kB / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8888, allocations: 0 / 1.164 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.8904, allocations: 0.6437 MB / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8904, allocations: 0 / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.8916, allocations: 98.34 kB / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.892, allocations: 131.1 kB / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.892, allocations: 0 / 1.165 GB, free: 26.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006495/0.8927, allocations: 0.6303 MB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8927, allocations: 1.781 kB / 1.166 GB, free: 25.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.8935, allocations: 357.5 kB / 1.166 GB, free: 25.67 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.8935, allocations: 17.48 kB / 1.166 GB, free: 25.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.8935, allocations: 6.344 kB / 1.166 GB, free: 25.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.8937, allocations: 19.97 kB / 1.166 GB, free: 25.64 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.8938, allocations: 14.7 kB / 1.166 GB, free: 25.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.8938, allocations: 8.375 kB / 1.166 GB, free: 25.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.8938, allocations: 97.34 kB / 1.166 GB, free: 25.56 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8938, allocations: 0 / 1.166 GB, free: 25.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004322/0.8943, allocations: 134.5 kB / 1.166 GB, free: 25.52 MB / 1.076 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.0003543/0.8946, allocations: 243 kB / 1.167 GB, free: 25.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008442/0.8955, allocations: 219.3 kB / 1.167 GB, free: 25.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.8955, allocations: 0 / 1.167 GB, free: 25.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.896, allocations: 132.2 kB / 1.167 GB, free: 25.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.8964, allocations: 29.38 kB / 1.167 GB, free: 25.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.8971, allocations: 343.1 kB / 1.167 GB, free: 25.06 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.21e-05/0.8971, allocations: 101.7 kB / 1.167 GB, free: 24.98 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.022e-05/0.8972, allocations: 18.14 kB / 1.167 GB, free: 24.97 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.8972, allocations: 23.66 kB / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.8972, allocations: 0 / 1.167 GB, free: 24.96 MB / 1.076 GB Notification: Performance of Templates: time 0.008529/0.9058, allocations: 4.483 MB / 1.172 GB, free: 24.46 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.833083486068062]