Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007821/0.007821, allocations: 98.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 193.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2856, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002897/0.2885, allocations: 2.026 MB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.2908, allocations: 1.66 MB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.2909, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.574e-05/0.291, allocations: 23.8 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.83e-05/0.2911, allocations: 47.55 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.292, allocations: 358.8 kB / 1.171 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.2923, allocations: 231 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.2924, allocations: 45.47 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.2925, allocations: 79.84 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.2927, allocations: 91.66 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.2927, allocations: 16 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007571/0.2935, allocations: 419.5 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.2935, allocations: 35.91 kB / 1.172 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.324e-05/0.2936, allocations: 83.66 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.2943, allocations: 438.5 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2943, allocations: 4 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2943, allocations: 0 / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.2943, allocations: 0 / 1.172 GB, free: 1.258 MB / 0.92 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.0008458/0.2952, allocations: 0.5179 MB / 1.173 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2952, allocations: 15.98 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/0.2958, allocations: 88.73 kB / 1.173 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.2959, allocations: 180.2 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.296, allocations: 50.25 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.2961, allocations: 16.38 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.2965, allocations: 183.2 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2965, allocations: 3.938 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.2965, allocations: 4 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.2966, allocations: 4 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004576/0.297, allocations: 183.8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.2986, allocations: 0.9227 MB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.2991, allocations: 166.5 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.2993, allocations: 88.81 kB / 1.174 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/0.3, allocations: 0.5181 MB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.3, allocations: 42.5 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.3, allocations: 4 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0006965/0.3007, allocations: 229.8 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3008, allocations: 55.34 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3009, allocations: 164.5 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.301, allocations: 25.7 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.301, allocations: 123.9 kB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3011, allocations: 43.58 kB / 1.176 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.3012, allocations: 45.66 kB / 1.176 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3013, allocations: 322.8 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3015, allocations: 75.95 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3017, allocations: 101.6 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.3021, allocations: 144.2 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3021, allocations: 3.938 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004846/0.3026, allocations: 219.3 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3026, allocations: 9.594 kB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3027, allocations: 0 / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3027, allocations: 0 / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3029, allocations: 39.97 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3029, allocations: 4 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3031, allocations: 19.88 kB / 1.176 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3032, allocations: 15.92 kB / 1.176 GB, free: 12.26 MB / 0.9356 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.0001155/0.3033, allocations: 129.7 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.3033, allocations: 19.91 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.3038, allocations: 193.9 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3039, allocations: 0 / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3039, allocations: 3.938 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3039, allocations: 0 / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.3053, allocations: 0.9779 MB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3053, allocations: 4.062 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.3055, allocations: 31.97 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3055, allocations: 0 / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3056, allocations: 4 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3056, allocations: 0 / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3056, allocations: 0 / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/0.3061, allocations: 301 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.3061, allocations: 93 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3062, allocations: 4 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.3064, allocations: 11.98 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.3065, allocations: 15.92 kB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3065, allocations: 4 kB / 1.178 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.608e-05/0.3066, allocations: 125.1 kB / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3066, allocations: 0 / 1.178 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004497/0.307, allocations: 131.5 kB / 1.178 GB, free: 10.03 MB / 0.9356 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.0004126/0.3075, allocations: 234.7 kB / 1.179 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004652/0.3079, allocations: 179.7 kB / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3079, allocations: 0 / 1.179 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.3082, allocations: 84.09 kB / 1.179 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3086, allocations: 43.95 kB / 1.179 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007202/0.3093, allocations: 336.3 kB / 1.179 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3096, allocations: 0.7125 MB / 1.18 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.3097, allocations: 31.16 kB / 1.18 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.3098, allocations: 23.44 kB / 1.18 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3098, allocations: 4 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.007517/0.3173, allocations: 4.286 MB / 1.184 GB, free: 4.109 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches