Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001339/0.001339, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00151/0.00151, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.136/3.136, allocations: 0.4892 GB / 0.7951 GB, free: 35.49 MB / 0.6231 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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") [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.002148/0.002148, allocations: 67.58 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3608, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003531/0.3643, allocations: 1.987 MB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.367, allocations: 1.523 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.3671, allocations: 7.938 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.019e-05/0.3671, allocations: 15.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.3673, allocations: 51.55 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.3684, allocations: 366.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.3687, allocations: 223.1 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3688, allocations: 33.61 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3689, allocations: 79.83 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3691, allocations: 79.67 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.3691, allocations: 16 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.37, allocations: 407.5 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.37, allocations: 47.84 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.3701, allocations: 71.77 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.3708, allocations: 438.6 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3708, allocations: 3.938 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3708, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3708, allocations: 0 / 1.331 GB, free: 12.51 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.0008871/0.3717, allocations: 449.2 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3718, allocations: 20.02 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005606/0.3723, allocations: 80.75 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3725, allocations: 130.3 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3726, allocations: 75.97 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.3726, allocations: 12.38 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.3731, allocations: 249.3 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3731, allocations: 3.938 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.3731, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3731, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3735, allocations: 127.9 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.3748, allocations: 0.6067 MB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00197/0.3768, allocations: 318.2 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.377, allocations: 80.81 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.3775, allocations: 76.14 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3775, allocations: 34.5 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.3775, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001665/0.3792, allocations: 391.1 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3792, allocations: 55.41 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.3793, allocations: 126 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3794, allocations: 33.7 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.3795, allocations: 116.3 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.3795, allocations: 59.47 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.3796, allocations: 41.66 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3798, allocations: 322.8 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.38, allocations: 79.95 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.3802, allocations: 86.19 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.3806, allocations: 158.6 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3806, allocations: 0 / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009061/0.3815, allocations: 286.2 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3815, allocations: 6.031 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3815, allocations: 4 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.3821, allocations: 123.7 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.3834, allocations: 104 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000963/0.3843, allocations: 0.6342 MB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3845, allocations: 23.92 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3845, allocations: 7.984 kB / 1.336 GB, free: 7.43 MB / 1.029 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.0001751/0.3847, allocations: 122.4 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.3848, allocations: 11.95 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009453/0.3857, allocations: 284.9 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3857, allocations: 0 / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3857, allocations: 0 / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3857, allocations: 3.938 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.3876, allocations: 0.6526 MB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.3876, allocations: 4 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.3888, allocations: 91.95 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005628/0.3894, allocations: 127.3 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3894, allocations: 4 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008854/0.3903, allocations: 0.6342 MB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3903, allocations: 7.984 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009356/0.3912, allocations: 360.3 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3913, allocations: 15.83 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.3913, allocations: 4 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3915, allocations: 23.92 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3916, allocations: 15.91 kB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.3916, allocations: 8 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.181e-05/0.3917, allocations: 95.27 kB / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3917, allocations: 0 / 1.339 GB, free: 4.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005391/0.3922, allocations: 131.6 kB / 1.339 GB, free: 4.742 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 (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.0005803/0.3928, allocations: 238.6 kB / 1.339 GB, free: 4.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000966/0.3938, allocations: 219.8 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3938, allocations: 0 / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.3944, allocations: 133.5 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.3948, allocations: 35.06 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008944/0.3957, allocations: 355.2 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.3958, allocations: 94.78 kB / 1.34 GB, free: 3.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.3959, allocations: 19.42 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of SimCode: time 8.21e-07/0.3959, allocations: 0 / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of Templates: time 0.008057/0.4039, allocations: 4.195 MB / 1.344 GB, free: 15.42 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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: 11.821731901261955]