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.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_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.001596/0.001596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001843/0.001843, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.511/2.511, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5781, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002933/0.5811, allocations: 2.092 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.5833, allocations: 1.648 MB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.5833, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.912e-05/0.5834, allocations: 11.91 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.083e-05/0.5835, allocations: 43.62 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.5844, allocations: 323.2 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.5846, allocations: 219.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.5847, allocations: 49.45 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.985e-05/0.5848, allocations: 83.78 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.5849, allocations: 87.72 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.585, allocations: 23.94 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.5857, allocations: 407.5 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.5857, allocations: 43.84 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.5858, allocations: 95.62 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.5863, allocations: 421 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5863, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5863, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.5864, allocations: 4 kB / 1.022 GB, free: 13.19 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.0007739/0.5871, allocations: 0.5147 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5872, allocations: 23.86 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.5878, allocations: 88.64 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.5879, allocations: 176.2 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/0.588, allocations: 50.25 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.588, allocations: 16.38 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.5884, allocations: 183.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.5884, allocations: 3.938 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.5885, allocations: 8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.5885, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.5889, allocations: 187.7 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.5902, allocations: 0.9112 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.5907, allocations: 174.5 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.5909, allocations: 80.81 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.5916, allocations: 0.5181 MB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5916, allocations: 38.56 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.5916, allocations: 0 / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006789/0.5923, allocations: 231 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.5923, allocations: 55.34 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.5925, allocations: 162.4 kB / 1.025 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5925, allocations: 25.7 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.5926, allocations: 123.8 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.5926, allocations: 47.3 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.5927, allocations: 41.69 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5928, allocations: 326.8 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.593, allocations: 67.97 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.5932, allocations: 103.9 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.5936, allocations: 153.6 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5937, allocations: 3.938 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004886/0.5941, allocations: 207 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5942, allocations: 8 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5942, allocations: 3.984 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.5942, allocations: 0 / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.5945, allocations: 43.91 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.5945, allocations: 0 / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.5947, allocations: 27.73 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5947, allocations: 11.98 kB / 1.027 GB, free: 8.203 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.0001059/0.5948, allocations: 126.3 kB / 1.027 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.5949, allocations: 15.84 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.5954, allocations: 199.5 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.5954, allocations: 4 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.5954, allocations: 0 / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5954, allocations: 4 kB / 1.027 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.5968, allocations: 0.9817 MB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5968, allocations: 0 / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.597, allocations: 31.91 kB / 1.028 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.597, allocations: 4 kB / 1.028 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.5971, allocations: 4 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5971, allocations: 4 kB / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5971, allocations: 0 / 1.028 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.5976, allocations: 292.4 kB / 1.028 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.5976, allocations: 93 kB / 1.028 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.5977, allocations: 4 kB / 1.028 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.5979, allocations: 19.92 kB / 1.028 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.598, allocations: 15.92 kB / 1.028 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.598, allocations: 7.984 kB / 1.028 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.5981, allocations: 118.5 kB / 1.028 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5981, allocations: 0 / 1.028 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000427/0.5985, allocations: 127.8 kB / 1.029 GB, free: 5.969 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.0004222/0.5989, allocations: 235 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004741/0.5994, allocations: 183.7 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5994, allocations: 0 / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.5996, allocations: 84.03 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.6, allocations: 42.08 kB / 1.029 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.6008, allocations: 388.7 kB / 1.029 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.601, allocations: 0.7086 MB / 1.03 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.6012, allocations: 32.66 kB / 1.03 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.6013, allocations: 19.44 kB / 1.03 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6013, allocations: 3.938 kB / 1.03 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.007328/0.6086, allocations: 4.255 MB / 1.034 GB, free: 32 kB / 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/jenkins/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