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.0008966/0.0008966, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009095/0.0009095, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8846/0.8846, allocations: 177.1 MB / 203.5 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.662/1.662, allocations: 377.9 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.927e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002208/0.002228, allocations: 1.985 MB / 0.9841 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003737, allocations: 1.53 MB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.003786, allocations: 4 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.721e-05/0.003834, allocations: 19.78 kB / 0.9857 GB, free: 14.51 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.003906, allocations: 51.55 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007011/0.004607, allocations: 370.5 kB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.004768, allocations: 223 kB / 0.9863 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004886, allocations: 40.47 kB / 0.9863 GB, free: 13.84 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.00499, allocations: 123.8 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.005088, allocations: 71.83 kB / 0.9865 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.005113, allocations: 20 kB / 0.9865 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.005596, allocations: 407.4 kB / 0.9869 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.005628, allocations: 43.88 kB / 0.9869 GB, free: 13.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.005679, allocations: 63.89 kB / 0.987 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004357/0.006114, allocations: 486.6 kB / 0.9875 GB, free: 12.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.006119, allocations: 11.98 kB / 0.9875 GB, free: 12.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.31e-07/0.00612, allocations: 3.938 kB / 0.9875 GB, free: 12.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.006124, allocations: 0 / 0.9875 GB, free: 12.63 MB / 0.948 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.0005643/0.006689, allocations: 461.1 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.006722, allocations: 8.031 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/0.007029, allocations: 96.73 kB / 0.988 GB, free: 12.04 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.148e-05/0.007111, allocations: 117.7 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/0.007192, allocations: 67.97 kB / 0.9882 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.007216, allocations: 20.38 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.007502, allocations: 238.1 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.007511, allocations: 192 / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.007529, allocations: 8.375 kB / 0.9885 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.007536, allocations: 8.125 kB / 0.9885 GB, free: 11.54 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.007714, allocations: 135.7 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.008556, allocations: 0.5952 MB / 0.9892 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.009505, allocations: 322.2 kB / 0.9895 GB, free: 10.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.009621, allocations: 84.8 kB / 0.9896 GB, free: 10.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.009842, allocations: 75.91 kB / 0.9896 GB, free: 10.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.009862, allocations: 34.56 kB / 0.9897 GB, free: 10.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.009863, allocations: 0 / 0.9897 GB, free: 10.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0009015/0.01076, allocations: 392 kB / 0.99 GB, free: 9.863 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.01079, allocations: 55.41 kB / 0.9901 GB, free: 9.797 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.01087, allocations: 122 kB / 0.9902 GB, free: 9.668 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.01089, allocations: 33.7 kB / 0.9902 GB, free: 9.629 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.01096, allocations: 128.2 kB / 0.9904 GB, free: 9.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.01099, allocations: 51.59 kB / 0.9904 GB, free: 9.449 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.01104, allocations: 37.7 kB / 0.9905 GB, free: 9.406 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.01112, allocations: 322.8 kB / 0.9908 GB, free: 9.082 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.01124, allocations: 75.97 kB / 0.9908 GB, free: 9.008 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.01149, allocations: 82.53 kB / 0.9909 GB, free: 8.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01171, allocations: 160.7 kB / 0.9911 GB, free: 8.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01171, allocations: 4 kB / 0.9911 GB, free: 8.766 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004674/0.01218, allocations: 288.6 kB / 0.9913 GB, free: 8.477 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01219, allocations: 4 kB / 0.9913 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.0122, allocations: 11.98 kB / 0.9914 GB, free: 8.461 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/0.01252, allocations: 114.4 kB / 0.9915 GB, free: 8.348 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.01305, allocations: 104 kB / 0.9916 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004561/0.0135, allocations: 0.6303 MB / 0.9922 GB, free: 7.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.01358, allocations: 19.92 kB / 0.9922 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01359, allocations: 11.94 kB / 0.9922 GB, free: 7.559 MB / 0.948 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 7.907e-05/0.01367, allocations: 125.8 kB / 0.9923 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.01369, allocations: 7.953 kB / 0.9923 GB, free: 7.418 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.01418, allocations: 290.9 kB / 0.9926 GB, free: 7.133 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01419, allocations: 3.938 kB / 0.9926 GB, free: 7.129 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01419, allocations: 4 kB / 0.9926 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01419, allocations: 0 / 0.9926 GB, free: 7.125 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.0151, allocations: 0.6487 MB / 0.9933 GB, free: 6.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0151, allocations: 0 / 0.9933 GB, free: 6.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.01561, allocations: 96.02 kB / 0.9934 GB, free: 6.336 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002612/0.01587, allocations: 129.2 kB / 0.9935 GB, free: 6.207 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.01588, allocations: 8 kB / 0.9935 GB, free: 6.199 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004141/0.0163, allocations: 0.6303 MB / 0.9941 GB, free: 5.543 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.0163, allocations: 4 kB / 0.9941 GB, free: 5.539 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.01674, allocations: 353.9 kB / 0.9944 GB, free: 5.168 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01676, allocations: 23.88 kB / 0.9945 GB, free: 5.145 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.01677, allocations: 4 kB / 0.9945 GB, free: 5.141 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.01687, allocations: 19.92 kB / 0.9945 GB, free: 5.121 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.0169, allocations: 11.97 kB / 0.9945 GB, free: 5.109 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.01691, allocations: 4 kB / 0.9945 GB, free: 5.105 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.01695, allocations: 100.6 kB / 0.9946 GB, free: 5.008 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.01695, allocations: 0 / 0.9946 GB, free: 5.008 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002812/0.01723, allocations: 139.5 kB / 0.9947 GB, free: 4.871 MB / 0.948 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.0002987/0.01753, allocations: 238.8 kB / 0.995 GB, free: 4.629 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000471/0.018, allocations: 219.8 kB / 0.9952 GB, free: 4.414 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.018, allocations: 0 / 0.9952 GB, free: 4.414 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.01826, allocations: 131.3 kB / 0.9953 GB, free: 4.289 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.0185, allocations: 27.97 kB / 0.9953 GB, free: 4.262 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.01903, allocations: 381 kB / 0.9957 GB, free: 3.855 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.01909, allocations: 94.78 kB / 0.9958 GB, free: 3.738 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.01913, allocations: 20.48 kB / 0.9958 GB, free: 3.719 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.01913, allocations: 0 / 0.9958 GB, free: 3.719 MB / 0.948 GB Notification: Performance of Templates: time 0.004304/0.02344, allocations: 4.246 MB / 0.9999 GB, free: 15.49 MB / 0.9636 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: 6.918732836842537]