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.001313/0.001313, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001438/0.001438, allocations: 209.8 kB / 22.99 MB, free: 4.984 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002072/0.002072, allocations: 65.67 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3196, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003358/0.323, allocations: 1.985 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.3255, allocations: 1.53 MB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.3256, allocations: 4 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.3257, allocations: 23.78 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.3258, allocations: 43.56 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3268, allocations: 362.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.327, allocations: 223.2 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3271, allocations: 37.59 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3272, allocations: 87.72 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3274, allocations: 83.73 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.3274, allocations: 20 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007436/0.3282, allocations: 431.4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.3282, allocations: 35.91 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.471e-05/0.3283, allocations: 83.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.3289, allocations: 430.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3289, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3289, allocations: 0 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.3289, allocations: 0 / 1.332 GB, free: 11.62 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.0008375/0.3297, allocations: 457.2 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3298, allocations: 8.031 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.3304, allocations: 100.7 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3305, allocations: 122.3 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.3306, allocations: 75.95 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.3306, allocations: 16.38 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.3311, allocations: 249.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3311, allocations: 3.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.3311, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3312, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3315, allocations: 127.9 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.3328, allocations: 0.5989 MB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.3348, allocations: 328.6 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.335, allocations: 76.77 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/0.3355, allocations: 84.11 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3356, allocations: 34.56 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.3356, allocations: 4 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001674/0.3372, allocations: 376 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3373, allocations: 55.41 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3374, allocations: 137.6 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.3374, allocations: 29.7 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.3375, allocations: 116.3 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.3376, allocations: 55.53 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/0.3377, allocations: 33.7 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.3378, allocations: 322.8 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.338, allocations: 87.91 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.3382, allocations: 79.95 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.3386, allocations: 163.4 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3386, allocations: 0 / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008987/0.3395, allocations: 286.3 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3396, allocations: 9.875 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3396, allocations: 0 / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005592/0.3401, allocations: 124.7 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3413, allocations: 111.8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000858/0.3421, allocations: 0.6264 MB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3423, allocations: 27.91 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.3423, allocations: 8 kB / 1.337 GB, free: 6.523 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.0001244/0.3425, allocations: 122.3 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.3425, allocations: 11.95 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008677/0.3434, allocations: 284.9 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3434, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3434, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3434, allocations: 7.984 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3452, allocations: 0.6349 MB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3452, allocations: 0 / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.3463, allocations: 104 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.3468, allocations: 124.8 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3468, allocations: 4 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008276/0.3477, allocations: 0.642 MB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3477, allocations: 0 / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.3485, allocations: 363.7 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.3486, allocations: 15.83 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.3486, allocations: 4 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.3488, allocations: 15.97 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3489, allocations: 11.98 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3489, allocations: 11.94 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.044e-05/0.349, allocations: 105.1 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.349, allocations: 0 / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005176/0.3495, allocations: 139.5 kB / 1.34 GB, free: 3.832 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.0004392/0.3499, allocations: 230.7 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008907/0.3508, allocations: 217.1 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3508, allocations: 8 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.3514, allocations: 119.8 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3518, allocations: 32.05 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.3525, allocations: 331 kB / 1.34 GB, free: 2.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.435e-05/0.3526, allocations: 98.77 kB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.199e-05/0.3527, allocations: 18.47 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.3527, allocations: 19.42 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3527, allocations: 0 / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of Templates: time 0.00893/0.3616, allocations: 4.71 MB / 1.345 GB, free: 14.07 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 -s gbode -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: 8.922287232009694]