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.002251/0.002251, allocations: 78.09 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.002621/0.002621, allocations: 160.3 kB / 23.01 MB, free: 4.598 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.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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 2.848/2.848, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002303/0.002303, allocations: 75.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8697/0.872, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002809/0.8748, allocations: 2.002 MB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.8769, allocations: 1.516 MB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.8769, allocations: 1.594 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.877, allocations: 20.09 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.8771, allocations: 47.98 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009861/0.8781, allocations: 362.5 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.8783, allocations: 221.1 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.8784, allocations: 37.33 kB / 1.191 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.942e-05/0.8785, allocations: 82.89 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.8787, allocations: 74.55 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.8787, allocations: 18.94 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.8795, allocations: 402 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.8795, allocations: 46.19 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.8796, allocations: 77.45 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.8802, allocations: 428.2 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.8802, allocations: 1.672 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8802, allocations: 0 / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.8802, allocations: 3.938 kB / 1.192 GB, free: 13.11 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.0007147/0.8809, allocations: 454.7 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.881, allocations: 8.531 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.8842, allocations: 328.2 kB / 1.193 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.8843, allocations: 121.1 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/0.8844, allocations: 84.78 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.8844, allocations: 14.12 kB / 1.193 GB, free: 12.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.8859, allocations: 388.6 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.886, allocations: 4.688 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.886, allocations: 5.562 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.886, allocations: 3.656 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.8884, allocations: 372.2 kB / 1.193 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.8899, allocations: 0.7301 MB / 1.194 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/0.895, allocations: 0.6363 MB / 1.195 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.8962, allocations: 203.8 kB / 1.195 GB, free: 11.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.8963, allocations: 17.03 kB / 1.195 GB, free: 11.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.8963, allocations: 41.45 kB / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.8963, allocations: 3.938 kB / 1.195 GB, free: 11.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.004725/0.901, allocations: 0.7077 MB / 1.196 GB, free: 11.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.9011, allocations: 53.95 kB / 1.196 GB, free: 11.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9012, allocations: 138.9 kB / 1.196 GB, free: 11.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.9012, allocations: 27.69 kB / 1.196 GB, free: 11.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.9013, allocations: 121.2 kB / 1.196 GB, free: 10.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.9013, allocations: 53.95 kB / 1.196 GB, free: 10.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.9014, allocations: 41.34 kB / 1.196 GB, free: 10.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.9015, allocations: 329.9 kB / 1.196 GB, free: 10.58 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.9027, allocations: 197.8 kB / 1.197 GB, free: 10.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.904, allocations: 200.3 kB / 1.197 GB, free: 10.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.9063, allocations: 361.2 kB / 1.197 GB, free: 10.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.9063, allocations: 0 / 1.197 GB, free: 10.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003058/0.9093, allocations: 0.4961 MB / 1.198 GB, free: 10.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9094, allocations: 9.438 kB / 1.198 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.9094, allocations: 1.719 kB / 1.198 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.9101, allocations: 136 kB / 1.198 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9119, allocations: 147.3 kB / 1.198 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007489/0.9126, allocations: 0.6289 MB / 1.199 GB, free: 9.621 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.9133, allocations: 62.78 kB / 1.199 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.9133, allocations: 11.17 kB / 1.199 GB, free: 9.605 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 0.0001271/0.9134, allocations: 129.5 kB / 1.199 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.9135, allocations: 18.12 kB / 1.199 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.9165, allocations: 0.5324 MB / 1.199 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.9165, allocations: 1.375 kB / 1.199 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9165, allocations: 1.344 kB / 1.199 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.9165, allocations: 1.406 kB / 1.199 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.9217, allocations: 0.9695 MB / 1.2 GB, free: 8.852 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9217, allocations: 0.7031 kB / 1.2 GB, free: 8.852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.9235, allocations: 150 kB / 1.2 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.924, allocations: 123.7 kB / 1.201 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.924, allocations: 7.047 kB / 1.201 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006978/0.9247, allocations: 0.6261 MB / 1.201 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9247, allocations: 0 / 1.201 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.9275, allocations: 0.5585 MB / 1.202 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.9276, allocations: 20.62 kB / 1.202 GB, free: 7.988 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.9276, allocations: 6.125 kB / 1.202 GB, free: 7.984 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.9283, allocations: 55.75 kB / 1.202 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.9284, allocations: 10.06 kB / 1.202 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.9284, allocations: 16.38 kB / 1.202 GB, free: 7.973 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.9285, allocations: 103.4 kB / 1.202 GB, free: 7.887 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9285, allocations: 0 / 1.202 GB, free: 7.887 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000632/0.9291, allocations: 127.9 kB / 1.202 GB, free: 7.855 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.000401/0.9295, allocations: 218.4 kB / 1.202 GB, free: 7.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003051/0.9325, allocations: 453.1 kB / 1.203 GB, free: 7.637 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9325, allocations: 0 / 1.203 GB, free: 7.637 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.9342, allocations: 239.3 kB / 1.203 GB, free: 7.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.9346, allocations: 36.38 kB / 1.203 GB, free: 7.574 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.937, allocations: 0.4978 MB / 1.203 GB, free: 7.328 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.467e-05/0.9371, allocations: 94.58 kB / 1.203 GB, free: 7.246 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.9373, allocations: 48.61 kB / 1.204 GB, free: 7.215 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.9375, allocations: 27.8 kB / 1.204 GB, free: 7.207 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.9375, allocations: 0 / 1.204 GB, free: 7.207 MB / 1.076 GB Notification: Performance of Templates: time 0.01254/0.95, allocations: 6.124 MB / 1.21 GB, free: 6.625 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.191107500926591]