Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,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") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002325/0.002326, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.831/2.831, allocations: 437 MB / 0.7099 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7121/0.714, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00368/0.7178, allocations: 2.094 MB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.7207, allocations: 1.742 MB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.7208, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.988e-05/0.7209, allocations: 15.91 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.721, allocations: 39.62 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.722, allocations: 295.2 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.7223, allocations: 215.2 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.7225, allocations: 33.48 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.7227, allocations: 87.69 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.7229, allocations: 79.69 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.7229, allocations: 12 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008911/0.7238, allocations: 391.5 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.7239, allocations: 35.91 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.724, allocations: 79.66 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006857/0.7247, allocations: 425 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7247, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7247, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.7247, allocations: 0 / 1.022 GB, free: 13.24 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.0008949/0.7256, allocations: 0.5186 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7257, allocations: 8.031 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005799/0.7262, allocations: 92.64 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.7264, allocations: 184.1 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.7265, allocations: 50.25 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.7265, allocations: 16.38 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.727, allocations: 178.1 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.727, allocations: 3.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.7271, allocations: 11.98 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.7271, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.7276, allocations: 188.9 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.7291, allocations: 0.9112 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.7296, allocations: 170.5 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.7299, allocations: 80.83 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007334/0.7306, allocations: 0.5181 MB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.7306, allocations: 38.56 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/0.7307, allocations: 4 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007353/0.7314, allocations: 237.6 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.7315, allocations: 59.41 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.7316, allocations: 160.2 kB / 1.025 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.7317, allocations: 29.7 kB / 1.025 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.355e-05/0.7318, allocations: 115.8 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/0.7318, allocations: 55.3 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.7319, allocations: 33.7 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.7321, allocations: 326.8 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.7323, allocations: 71.95 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.7325, allocations: 93.66 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.7329, allocations: 155.5 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.7329, allocations: 3.938 kB / 1.026 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005174/0.7335, allocations: 211 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7335, allocations: 4 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.7335, allocations: 4.031 kB / 1.026 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.7335, allocations: 4 kB / 1.026 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.7338, allocations: 39.91 kB / 1.026 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7338, allocations: 0 / 1.026 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.734, allocations: 19.83 kB / 1.026 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.734, allocations: 11.98 kB / 1.026 GB, free: 8.258 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.0001328/0.7342, allocations: 129.7 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.7342, allocations: 15.91 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.7348, allocations: 193.3 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7348, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.7348, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7348, allocations: 0 / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.7364, allocations: 0.9855 MB / 1.028 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7364, allocations: 4 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.7366, allocations: 35.97 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7366, allocations: 0 / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.7367, allocations: 8 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7367, allocations: 0 / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7367, allocations: 4 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.7372, allocations: 296.9 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.7373, allocations: 93 kB / 1.028 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.7374, allocations: 3.984 kB / 1.028 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.7376, allocations: 15.98 kB / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.7376, allocations: 19.92 kB / 1.028 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.7377, allocations: 4 kB / 1.028 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.828e-05/0.7378, allocations: 121.5 kB / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7378, allocations: 0 / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004909/0.7383, allocations: 131.9 kB / 1.028 GB, free: 6.012 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.0005207/0.7388, allocations: 231.5 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.7393, allocations: 175.8 kB / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.7393, allocations: 0 / 1.029 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.7395, allocations: 83.84 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.74, allocations: 44.16 kB / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007965/0.7408, allocations: 366.2 kB / 1.029 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.7413, allocations: 0.7166 MB / 1.03 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.7415, allocations: 29.92 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.7415, allocations: 15.44 kB / 1.03 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.7416, allocations: 0 / 1.03 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of Templates: time 0.009148/0.7507, allocations: 4.144 MB / 1.034 GB, free: 212 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches