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.001948/0.001948, allocations: 108.3 kB / 16.46 MB, free: 6.453 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.002434/0.002434, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.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 3.258/3.258, allocations: 0.49 GB / 0.7916 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 176] 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.002201/0.002201, allocations: 67.59 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4428, allocations: 176.1 MB / 1.321 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.004109/0.4469, allocations: 2.047 MB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.45, allocations: 1.697 MB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.4501, allocations: 4 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.379e-05/0.4502, allocations: 11.86 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.4504, allocations: 51.55 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.4518, allocations: 362.8 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.4522, allocations: 219.1 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4523, allocations: 37.48 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.4525, allocations: 79.77 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.4527, allocations: 91.67 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.4527, allocations: 19.94 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.4538, allocations: 419.5 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.4538, allocations: 47.91 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.4539, allocations: 91.62 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008582/0.4548, allocations: 426.6 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4548, allocations: 0 / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4548, allocations: 0 / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4548, allocations: 0 / 1.327 GB, free: 13.23 MB / 1.029 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.001079/0.4559, allocations: 0.5273 MB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4559, allocations: 16.03 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.4566, allocations: 84.73 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4568, allocations: 184.1 kB / 1.327 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4569, allocations: 54.25 kB / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.4569, allocations: 16.38 kB / 1.328 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.4574, allocations: 181.9 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4574, allocations: 3.938 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.4574, allocations: 7.984 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.4574, allocations: 7.984 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.458, allocations: 183.9 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.4596, allocations: 0.8997 MB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.4601, allocations: 166.5 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4603, allocations: 64.83 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007369/0.4611, allocations: 0.522 MB / 1.33 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.4611, allocations: 34.56 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.4611, allocations: 0 / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0007896/0.4619, allocations: 235.8 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4619, allocations: 55.34 kB / 1.33 GB, free: 9.641 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.4621, allocations: 168.5 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.4622, allocations: 29.7 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4623, allocations: 119.9 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.4623, allocations: 43.64 kB / 1.33 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.4624, allocations: 41.69 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4625, allocations: 322.8 kB / 1.331 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.4628, allocations: 71.92 kB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.463, allocations: 101.7 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.4634, allocations: 147.6 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4634, allocations: 3.938 kB / 1.331 GB, free: 8.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005579/0.464, allocations: 215.2 kB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.464, allocations: 10.03 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.464, allocations: 3.984 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.464, allocations: 0 / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.4643, allocations: 39.91 kB / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.4643, allocations: 0 / 1.331 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.4645, allocations: 35.77 kB / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4645, allocations: 7.984 kB / 1.331 GB, free: 8.262 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.4647, allocations: 125.8 kB / 1.331 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.4647, allocations: 11.95 kB / 1.331 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.4653, allocations: 198.3 kB / 1.331 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4653, allocations: 11.94 kB / 1.331 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4653, allocations: 0 / 1.331 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4653, allocations: 4 kB / 1.331 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.467, allocations: 0.974 MB / 1.332 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.467, allocations: 0 / 1.332 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.4672, allocations: 31.91 kB / 1.332 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4672, allocations: 4 kB / 1.332 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.4672, allocations: 4 kB / 1.332 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4672, allocations: 4 kB / 1.332 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4672, allocations: 0 / 1.332 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.4678, allocations: 296.2 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.4678, allocations: 96.94 kB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.4679, allocations: 4 kB / 1.333 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.4681, allocations: 19.92 kB / 1.333 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.4682, allocations: 15.92 kB / 1.333 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.4682, allocations: 11.92 kB / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001069/0.4683, allocations: 121.3 kB / 1.333 GB, free: 6.137 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4683, allocations: 0 / 1.333 GB, free: 6.137 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005079/0.4688, allocations: 127.6 kB / 1.333 GB, free: 6.012 MB / 1.029 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000534/0.4693, allocations: 234.7 kB / 1.333 GB, free: 5.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005501/0.4699, allocations: 163.8 kB / 1.333 GB, free: 5.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4699, allocations: 4.062 kB / 1.334 GB, free: 5.609 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.4701, allocations: 71.91 kB / 1.334 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.4705, allocations: 39.97 kB / 1.334 GB, free: 5.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.4715, allocations: 336.3 kB / 1.334 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.4718, allocations: 0.7164 MB / 1.335 GB, free: 4.398 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.472, allocations: 34.97 kB / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.803e-05/0.4721, allocations: 19.44 kB / 1.335 GB, free: 4.348 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4721, allocations: 0 / 1.335 GB, free: 4.348 MB / 1.029 GB Notification: Performance of Templates: time 0.0101/0.4822, allocations: 4.382 MB / 1.339 GB, free: 20 kB / 1.029 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=400 -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/jenkins/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: 9.409741898998618]