Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008147/0.008147, allocations: 96.73 kB / 15.73 MB, free: 6.055 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.001775/0.001775, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 71.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3481, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00375/0.3518, allocations: 2.039 MB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.3546, allocations: 1.662 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.3547, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.582e-05/0.3548, allocations: 15.84 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.3549, allocations: 51.55 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3562, allocations: 358.8 kB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.3565, allocations: 215.1 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3567, allocations: 45.45 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3568, allocations: 75.78 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.357, allocations: 87.72 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.357, allocations: 20 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008593/0.3579, allocations: 411.5 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.358, allocations: 43.83 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.358, allocations: 87.66 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007266/0.3588, allocations: 430.6 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3588, allocations: 3.984 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3588, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3588, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 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.0009288/0.3597, allocations: 0.5334 MB / 1.227 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3598, allocations: 8.031 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.3604, allocations: 88.73 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3605, allocations: 184.2 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.3606, allocations: 46.27 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.3606, allocations: 12.38 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.3611, allocations: 182.9 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3611, allocations: 3.938 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.3611, allocations: 8 kB / 1.227 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3611, allocations: 4 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.3616, allocations: 179.9 kB / 1.227 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.363, allocations: 0.9191 MB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.3635, allocations: 162.5 kB / 1.228 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.3637, allocations: 68.83 kB / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.3644, allocations: 0.5259 MB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3644, allocations: 30.56 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3644, allocations: 0 / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007309/0.3651, allocations: 237.7 kB / 1.229 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3652, allocations: 55.41 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3653, allocations: 164.7 kB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3653, allocations: 29.7 kB / 1.229 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.3654, allocations: 115.9 kB / 1.229 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.3655, allocations: 59.45 kB / 1.229 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.3655, allocations: 37.7 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3656, allocations: 322.8 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3659, allocations: 75.95 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3661, allocations: 99.5 kB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.3664, allocations: 143.6 kB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3664, allocations: 3.938 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005077/0.3669, allocations: 221.4 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.367, allocations: 8 kB / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.367, allocations: 0 / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.367, allocations: 0 / 1.23 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.3672, allocations: 35.97 kB / 1.23 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.3672, allocations: 4 kB / 1.23 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3674, allocations: 27.91 kB / 1.23 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3675, allocations: 7.938 kB / 1.23 GB, free: 3.285 MB / 0.9825 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.0001243/0.3676, allocations: 134.2 kB / 1.231 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.3676, allocations: 11.91 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.3682, allocations: 202.4 kB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3682, allocations: 4 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3682, allocations: 0 / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3682, allocations: 3.984 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.3697, allocations: 0.9855 MB / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3697, allocations: 0 / 1.232 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3699, allocations: 35.97 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3699, allocations: 0 / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3699, allocations: 4 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3699, allocations: 0 / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3699, allocations: 3.938 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.3704, allocations: 285.2 kB / 1.232 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.3705, allocations: 89.02 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.3705, allocations: 4 kB / 1.232 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3708, allocations: 27.97 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3708, allocations: 11.92 kB / 1.232 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3708, allocations: 8 kB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.931e-05/0.3709, allocations: 121.3 kB / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3709, allocations: 0 / 1.232 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004826/0.3714, allocations: 123.6 kB / 1.232 GB, free: 1.039 MB / 0.9825 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.0004724/0.3719, allocations: 238.6 kB / 1.233 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.3723, allocations: 165.6 kB / 1.233 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3723, allocations: 4 kB / 1.233 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.3725, allocations: 75.89 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3729, allocations: 46.36 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.3737, allocations: 316.4 kB / 1.233 GB, free: 180 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.374, allocations: 0.7125 MB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000139/0.3741, allocations: 32.42 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3742, allocations: 27.36 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.3742, allocations: 0 / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of Templates: time 0.008805/0.383, allocations: 4.304 MB / 1.238 GB, free: 11.13 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches