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.001745/0.001745, allocations: 104.3 kB / 16.27 MB, free: 6.098 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.001982/0.001982, allocations: 188.9 kB / 17.2 MB, free: 5.719 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.507/2.507, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 64.41 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3317, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003552/0.3353, allocations: 2.023 MB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.3379, allocations: 1.671 MB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.338, allocations: 0 / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 7.455e-05/0.3381, allocations: 23.78 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.3382, allocations: 47.55 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3392, allocations: 359.3 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3394, allocations: 215.1 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.3396, allocations: 53.45 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3397, allocations: 75.78 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3399, allocations: 87.73 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.3399, allocations: 19.94 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007692/0.3407, allocations: 395.6 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.3408, allocations: 47.83 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3409, allocations: 83.66 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.3415, allocations: 431.2 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3415, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3415, allocations: 4 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3415, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 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.0008917/0.3424, allocations: 0.5186 MB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.3425, allocations: 8.031 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005867/0.3431, allocations: 88.64 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3432, allocations: 184.1 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-05/0.3433, allocations: 50.25 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.3434, allocations: 12.38 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.3438, allocations: 175.9 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3438, allocations: 3.938 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.3439, allocations: 19.92 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3439, allocations: 7.984 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.3443, allocations: 183.7 kB / 1.025 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3458, allocations: 0.9035 MB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.3463, allocations: 166.5 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.3465, allocations: 85.02 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007102/0.3472, allocations: 0.5181 MB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3473, allocations: 42.56 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 3.086e-06/0.3473, allocations: 4 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007394/0.3481, allocations: 233.6 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3481, allocations: 51.41 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3483, allocations: 169 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3483, allocations: 25.7 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.3484, allocations: 119.8 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.3485, allocations: 59.27 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.3485, allocations: 37.7 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3487, allocations: 322.8 kB / 1.027 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3489, allocations: 71.91 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3492, allocations: 97.66 kB / 1.027 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.3496, allocations: 151.5 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3496, allocations: 3.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005064/0.3501, allocations: 207.6 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3501, allocations: 8 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3501, allocations: 4.031 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3502, allocations: 0 / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.3504, allocations: 39.97 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3504, allocations: 7.938 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.3506, allocations: 27.75 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.3506, allocations: 8 kB / 1.028 GB, free: 144 kB / 0.795 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.0001251/0.3508, allocations: 125.8 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3508, allocations: 12.08 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005305/0.3514, allocations: 198.4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.3514, allocations: 4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3514, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3514, allocations: 0 / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.3529, allocations: 0.9778 MB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.353, allocations: 0 / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.3532, allocations: 36.03 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3532, allocations: 0 / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3532, allocations: 8 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3532, allocations: 3.938 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3532, allocations: 3.938 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.3537, allocations: 292.9 kB / 1.029 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3538, allocations: 92.95 kB / 1.029 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.3539, allocations: 4 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3541, allocations: 11.98 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3541, allocations: 19.91 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.3542, allocations: 11.98 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3543, allocations: 121.3 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3543, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004705/0.3548, allocations: 127.8 kB / 1.03 GB, free: 13.9 MB / 0.8106 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.0004571/0.3552, allocations: 233.6 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.3557, allocations: 179.6 kB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3558, allocations: 0 / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.356, allocations: 79.91 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.3564, allocations: 44.14 kB / 1.03 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.3571, allocations: 358.4 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3575, allocations: 0.7047 MB / 1.031 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.3576, allocations: 27.42 kB / 1.031 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3576, allocations: 0 / 1.031 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of Templates: time 0.006795/0.3644, allocations: 3.856 MB / 1.035 GB, free: 8.402 MB / 0.8106 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/jenkins1/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