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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000853/0.000853, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009193/0.0009196, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5755, allocations: 153.8 MB / 1.022 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002084/0.5776, allocations: 1.699 MB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.5798, allocations: 1.548 MB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.668e-05/0.58, allocations: 3.938 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.952e-05/0.58, allocations: 19.84 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.5801, allocations: 39.67 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009051/0.5811, allocations: 271.2 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.5813, allocations: 207.1 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.5814, allocations: 41.58 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.5815, allocations: 67.84 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.5817, allocations: 75.75 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.5817, allocations: 15.98 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007817/0.5825, allocations: 371.5 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.5826, allocations: 31.84 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.5826, allocations: 57.64 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.583, allocations: 309.3 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5831, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5831, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5831, allocations: 0 / 1.027 GB, free: 11.32 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.0007474/0.5838, allocations: 0.4911 MB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5839, allocations: 8.562 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005422/0.5844, allocations: 99.72 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5846, allocations: 182.9 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.5846, allocations: 41.7 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.5847, allocations: 15.95 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.5851, allocations: 186.5 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5851, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.5852, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.5852, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.5856, allocations: 195.7 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.5869, allocations: 0.919 MB / 1.029 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.5874, allocations: 178.6 kB / 1.029 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.5876, allocations: 88.75 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.5882, allocations: 0.522 MB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5883, allocations: 30.56 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 2.796e-06/0.5883, allocations: 0 / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006798/0.589, allocations: 257.5 kB / 1.03 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.589, allocations: 55.41 kB / 1.03 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.5891, allocations: 158.5 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.5892, allocations: 29.7 kB / 1.03 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.5893, allocations: 123.7 kB / 1.03 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.5893, allocations: 51.3 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.5893, allocations: 4 kB / 1.031 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5894, allocations: 326.8 kB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.5896, allocations: 79.89 kB / 1.031 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5899, allocations: 103.6 kB / 1.031 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.5901, allocations: 71.97 kB / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5901, allocations: 0 / 1.031 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000489/0.5906, allocations: 227.2 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5906, allocations: 4 kB / 1.031 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.5906, allocations: 0 / 1.031 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5906, allocations: 4 kB / 1.031 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.5909, allocations: 35.97 kB / 1.031 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.5909, allocations: 4 kB / 1.031 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.5911, allocations: 35.69 kB / 1.031 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5911, allocations: 4 kB / 1.031 GB, free: 6.426 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.5912, allocations: 129.8 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.5913, allocations: 11.91 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.5918, allocations: 194.4 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5918, allocations: 4 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5918, allocations: 0 / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5918, allocations: 3.984 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.5932, allocations: 0.9972 MB / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5932, allocations: 0 / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.5934, allocations: 36.03 kB / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5934, allocations: 0 / 1.033 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.5934, allocations: 8 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.5934, allocations: 3.953 kB / 1.033 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5934, allocations: 0 / 1.033 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004901/0.5939, allocations: 301 kB / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.594, allocations: 89 kB / 1.033 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.594, allocations: 8 kB / 1.033 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.5943, allocations: 15.98 kB / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.5943, allocations: 19.92 kB / 1.033 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.5943, allocations: 8 kB / 1.033 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.262e-05/0.5944, allocations: 115.2 kB / 1.033 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5944, allocations: 0 / 1.033 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004601/0.5949, allocations: 131.8 kB / 1.033 GB, free: 4.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004519/0.5953, allocations: 234.9 kB / 1.034 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.5958, allocations: 179.9 kB / 1.034 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5958, allocations: 4 kB / 1.034 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.596, allocations: 83.89 kB / 1.034 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.5965, allocations: 52.09 kB / 1.034 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006398/0.5971, allocations: 377.5 kB / 1.034 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.5974, allocations: 0.7089 MB / 1.035 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001743/0.5976, allocations: 29.42 kB / 1.035 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.5976, allocations: 19.44 kB / 1.035 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.5976, allocations: 0 / 1.035 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.007818/0.6055, allocations: 4.052 MB / 1.039 GB, free: 14.43 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