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.0007938/0.0007937, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005622/0.005622, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.571/2.571, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 8 kB / 0.8728 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.6424, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002271/0.6448, allocations: 1.737 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.6472, allocations: 1.721 MB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.6472, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.6473, allocations: 15.91 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.6474, allocations: 43.61 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.6482, allocations: 295.2 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.6484, allocations: 215.1 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.6485, allocations: 37.47 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.6486, allocations: 71.78 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.6488, allocations: 79.73 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.6488, allocations: 11.94 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000704/0.6495, allocations: 387.5 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.6496, allocations: 35.84 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.6497, allocations: 109.3 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004891/0.6502, allocations: 412.9 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6502, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6502, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.6502, allocations: 0 / 1.028 GB, free: 10.72 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.0007548/0.651, allocations: 0.4912 MB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.651, allocations: 12.03 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005841/0.6516, allocations: 96.66 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6517, allocations: 184.2 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.6518, allocations: 42.27 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.6518, allocations: 20.36 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.6523, allocations: 186.1 kB / 1.029 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6523, allocations: 3.938 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.6523, allocations: 7.938 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.6523, allocations: 4 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.6528, allocations: 192.9 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.6541, allocations: 0.9112 MB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.6547, allocations: 190.5 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.6549, allocations: 84.81 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.6555, allocations: 0.5181 MB / 1.031 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.6556, allocations: 34.56 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.6556, allocations: 0 / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007059/0.6563, allocations: 245.7 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.6563, allocations: 59.34 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.6565, allocations: 160.3 kB / 1.031 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.6565, allocations: 29.7 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.6566, allocations: 115.8 kB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.6566, allocations: 47.3 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.6567, allocations: 21.72 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.6568, allocations: 326.8 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.657, allocations: 75.95 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.6572, allocations: 109.6 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.6576, allocations: 154.8 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.6576, allocations: 3.938 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004957/0.6582, allocations: 226.7 kB / 1.032 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6582, allocations: 4 kB / 1.032 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6582, allocations: 4 kB / 1.032 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.6582, allocations: 0 / 1.032 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.6584, allocations: 39.91 kB / 1.032 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6585, allocations: 8.031 kB / 1.032 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.6587, allocations: 19.83 kB / 1.032 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.6587, allocations: 11.98 kB / 1.033 GB, free: 5.707 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.0001028/0.6588, allocations: 126.3 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.6588, allocations: 15.81 kB / 1.033 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005192/0.6594, allocations: 207.5 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6594, allocations: 0 / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6594, allocations: 0 / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6594, allocations: 0 / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.6608, allocations: 0.9934 MB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6608, allocations: 4 kB / 1.034 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.661, allocations: 35.91 kB / 1.034 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.661, allocations: 7.984 kB / 1.034 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.661, allocations: 4 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.661, allocations: 4 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.661, allocations: 0 / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.6616, allocations: 293.1 kB / 1.034 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.6616, allocations: 96.91 kB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.6617, allocations: 8 kB / 1.034 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.6619, allocations: 19.97 kB / 1.034 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.6619, allocations: 19.86 kB / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.662, allocations: 4 kB / 1.034 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.6621, allocations: 121.7 kB / 1.034 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6621, allocations: 0 / 1.034 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004134/0.6625, allocations: 123.9 kB / 1.035 GB, free: 3.438 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.0004032/0.6629, allocations: 231 kB / 1.035 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.6634, allocations: 187 kB / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6634, allocations: 0 / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.6636, allocations: 87.89 kB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.664, allocations: 44.86 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.6647, allocations: 389.6 kB / 1.035 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.665, allocations: 0.7127 MB / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.6651, allocations: 31.3 kB / 1.036 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.6652, allocations: 19.44 kB / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6652, allocations: 3.938 kB / 1.036 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of Templates: time 0.007685/0.6729, allocations: 4.122 MB / 1.04 GB, free: 13.61 MB / 0.795 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=480 -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