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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001303/0.001303, allocations: 100.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 200.4 kB / 16.8 MB, free: 6.82 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 0.8692 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7115/0.7128, allocations: 151.6 MB / 1.017 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003702/0.7166, allocations: 2.096 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.7194, allocations: 1.745 MB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.7196, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.132e-05/0.7197, allocations: 7.922 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.7199, allocations: 47.61 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.7211, allocations: 299.2 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.7214, allocations: 207.2 kB / 1.022 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.7215, allocations: 41.47 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.7217, allocations: 75.72 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.7219, allocations: 83.72 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.7219, allocations: 16 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009437/0.7229, allocations: 387.5 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.723, allocations: 39.83 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.7231, allocations: 79.66 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.7236, allocations: 313.3 kB / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7237, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7237, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.7237, allocations: 4 kB / 1.023 GB, free: 13.41 MB / 0.7794 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.001052/0.7247, allocations: 0.5186 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.7248, allocations: 15.98 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006269/0.7254, allocations: 88.64 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.7256, allocations: 180.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.7257, allocations: 46.25 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.7257, allocations: 16.38 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.7262, allocations: 182.1 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.7262, allocations: 3.938 kB / 1.024 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.7262, allocations: 4 kB / 1.024 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7263, allocations: 4 kB / 1.024 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.7267, allocations: 184.9 kB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.7282, allocations: 0.9151 MB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.7287, allocations: 174.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.7289, allocations: 80.77 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006659/0.7296, allocations: 0.5142 MB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.7296, allocations: 38.56 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.7296, allocations: 0 / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006972/0.7303, allocations: 233.7 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.7304, allocations: 59.41 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.7305, allocations: 160.2 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.7306, allocations: 41.64 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.7307, allocations: 111.8 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.7307, allocations: 55.28 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.7308, allocations: 37.7 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7309, allocations: 322.8 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.7311, allocations: 75.89 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.7313, allocations: 97.67 kB / 1.027 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.7317, allocations: 147.3 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7317, allocations: 3.938 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004975/0.7322, allocations: 219.3 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7323, allocations: 4 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7323, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7323, allocations: 4 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.7326, allocations: 35.97 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.7326, allocations: 3.938 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.7328, allocations: 23.83 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.7328, allocations: 4 kB / 1.027 GB, free: 8.43 MB / 0.7794 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.0001267/0.7329, allocations: 134.3 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.733, allocations: 15.91 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.7335, allocations: 199.6 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.7335, allocations: 3.984 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7336, allocations: 0 / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.7336, allocations: 8 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.735, allocations: 0.9778 MB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.735, allocations: 0 / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.7352, allocations: 31.97 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.7352, allocations: 4 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7353, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.7353, allocations: 3.938 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7353, allocations: 4 kB / 1.028 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.7358, allocations: 291.1 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.7358, allocations: 89 kB / 1.029 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.7359, allocations: 4 kB / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.7361, allocations: 11.98 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.7361, allocations: 19.92 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.7362, allocations: 8 kB / 1.029 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.597e-05/0.7363, allocations: 116.9 kB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.513e-06/0.7363, allocations: 0 / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000469/0.7367, allocations: 131.8 kB / 1.029 GB, free: 6.191 MB / 0.7794 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.0005085/0.7373, allocations: 231 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.7378, allocations: 179.8 kB / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7378, allocations: 0 / 1.029 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.738, allocations: 91.89 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.7384, allocations: 35.97 kB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.7393, allocations: 412 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.7396, allocations: 0.705 MB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.7397, allocations: 27.42 kB / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7397, allocations: 0 / 1.031 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of Templates: time 0.006874/0.7465, allocations: 3.86 MB / 1.034 GB, free: 0.6328 MB / 0.7794 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/jenkins1/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