Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0016/0.0016, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001748/0.001748, allocations: 161 kB / 23.01 MB, free: 4.602 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.693/2.693, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002138/0.002138, allocations: 63.89 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2861, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003589/0.2897, allocations: 1.991 MB / 1.119 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.2924, allocations: 1.522 MB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.2924, allocations: 4 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 7.016e-05/0.2925, allocations: 19.8 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2926, allocations: 55.55 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2938, allocations: 354.8 kB / 1.121 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.2941, allocations: 223.1 kB / 1.121 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2942, allocations: 33.66 kB / 1.122 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2943, allocations: 87.78 kB / 1.122 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.2945, allocations: 71.73 kB / 1.122 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.2945, allocations: 20 kB / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.2954, allocations: 407.5 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.2954, allocations: 47.78 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.2955, allocations: 75.77 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000676/0.2962, allocations: 434.6 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2962, allocations: 0 / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2962, allocations: 0 / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2962, allocations: 4 kB / 1.123 GB, free: 13.22 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.0008538/0.2971, allocations: 461.2 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2971, allocations: 8.031 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006153/0.2977, allocations: 88.73 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2979, allocations: 130.3 kB / 1.123 GB, free: 12.49 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.298, allocations: 71.95 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.298, allocations: 16.38 kB / 1.123 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2985, allocations: 245.4 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2985, allocations: 11.88 kB / 1.124 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.2985, allocations: 4 kB / 1.124 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.2985, allocations: 7.938 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.2989, allocations: 123.9 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.3003, allocations: 0.5953 MB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.3025, allocations: 330.1 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3027, allocations: 76.83 kB / 1.125 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004815/0.3032, allocations: 79.84 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3032, allocations: 34.55 kB / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.3032, allocations: 0 / 1.125 GB, free: 10.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.001765/0.305, allocations: 385.3 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.305, allocations: 55.41 kB / 1.125 GB, free: 10.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3051, allocations: 126 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3052, allocations: 33.7 kB / 1.125 GB, free: 10.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.3053, allocations: 124.3 kB / 1.126 GB, free: 10.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.3053, allocations: 47.59 kB / 1.126 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3054, allocations: 41.66 kB / 1.126 GB, free: 10 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3056, allocations: 322.8 kB / 1.126 GB, free: 9.676 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.3058, allocations: 79.95 kB / 1.126 GB, free: 9.598 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.306, allocations: 82.02 kB / 1.126 GB, free: 9.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.3065, allocations: 160.8 kB / 1.126 GB, free: 9.359 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3065, allocations: 0 / 1.126 GB, free: 9.359 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009748/0.3074, allocations: 284.6 kB / 1.126 GB, free: 9.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3075, allocations: 12 kB / 1.126 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3075, allocations: 0 / 1.126 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.308, allocations: 124.5 kB / 1.127 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.3094, allocations: 111.9 kB / 1.127 GB, free: 8.832 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009271/0.3103, allocations: 0.6264 MB / 1.127 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.3105, allocations: 23.91 kB / 1.127 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3105, allocations: 7.938 kB / 1.127 GB, free: 8.148 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.0001348/0.3107, allocations: 129.8 kB / 1.127 GB, free: 8.012 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.3107, allocations: 11.95 kB / 1.127 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.3116, allocations: 283.4 kB / 1.128 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3116, allocations: 4 kB / 1.128 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3116, allocations: 0 / 1.128 GB, free: 7.707 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3117, allocations: 3.984 kB / 1.128 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3136, allocations: 0.6478 MB / 1.128 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3136, allocations: 0 / 1.128 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.3149, allocations: 100 kB / 1.129 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.3154, allocations: 116.8 kB / 1.129 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3154, allocations: 8 kB / 1.129 GB, free: 6.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009016/0.3163, allocations: 0.6342 MB / 1.129 GB, free: 6.129 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3163, allocations: 3.938 kB / 1.129 GB, free: 6.125 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.3173, allocations: 365.9 kB / 1.13 GB, free: 5.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.3173, allocations: 15.83 kB / 1.13 GB, free: 5.727 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3174, allocations: 4 kB / 1.13 GB, free: 5.723 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.3176, allocations: 15.97 kB / 1.13 GB, free: 5.707 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3177, allocations: 12.27 kB / 1.13 GB, free: 5.695 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3177, allocations: 4 kB / 1.13 GB, free: 5.691 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.3177, allocations: 98.64 kB / 1.13 GB, free: 5.598 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3177, allocations: 4 kB / 1.13 GB, free: 5.594 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005099/0.3183, allocations: 143.5 kB / 1.13 GB, free: 5.453 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.0004992/0.3188, allocations: 240.9 kB / 1.13 GB, free: 5.211 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009551/0.3197, allocations: 207.8 kB / 1.13 GB, free: 5.008 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3197, allocations: 0 / 1.13 GB, free: 5.008 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.3203, allocations: 131.9 kB / 1.13 GB, free: 4.879 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3207, allocations: 35.91 kB / 1.13 GB, free: 4.844 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.3216, allocations: 353.6 kB / 1.131 GB, free: 4.469 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3217, allocations: 99.02 kB / 1.131 GB, free: 4.352 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.313e-05/0.3218, allocations: 15.66 kB / 1.131 GB, free: 4.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3218, allocations: 24.42 kB / 1.131 GB, free: 4.316 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3218, allocations: 0 / 1.131 GB, free: 4.316 MB / 1.076 GB Notification: Performance of Templates: time 0.5123/0.8341, allocations: 4.471 MB / 1.135 GB, free: 58.67 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.600423893076368]