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.001631/0.001631, 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.001993/0.001993, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.548/2.548, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5641/0.5663, allocations: 151.6 MB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003129/0.5695, allocations: 2.092 MB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.5717, allocations: 1.658 MB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.5718, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.647e-05/0.5718, allocations: 7.922 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.5719, allocations: 47.61 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.5728, allocations: 323.2 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.573, allocations: 211.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.5732, allocations: 53.45 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.5733, allocations: 87.66 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.5734, allocations: 91.72 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.5734, allocations: 16 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006738/0.5741, allocations: 415.5 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.5742, allocations: 39.84 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.5743, allocations: 91.64 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.5748, allocations: 429 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5748, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5748, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5748, allocations: 0 / 1.022 GB, free: 13.33 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.0007667/0.5756, allocations: 0.5186 MB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5756, allocations: 11.97 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005699/0.5762, allocations: 88.64 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.5763, allocations: 180.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/0.5764, allocations: 50.25 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.5764, allocations: 16.38 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.5768, allocations: 179.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5769, allocations: 3.938 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.5769, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.5769, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.5773, allocations: 191.7 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.5787, allocations: 0.9073 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.5792, allocations: 178.5 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.5794, allocations: 72.83 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006977/0.5801, allocations: 0.5181 MB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.5801, allocations: 38.56 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.5801, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0006995/0.5808, allocations: 237.3 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.5809, allocations: 55.41 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.581, allocations: 160.4 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.5811, allocations: 29.7 kB / 1.026 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.5811, allocations: 115.8 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.5812, allocations: 51.3 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.5813, allocations: 37.7 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5814, allocations: 330.8 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5816, allocations: 71.95 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.5818, allocations: 99.03 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003964/0.5822, allocations: 167.2 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5822, allocations: 3.938 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004927/0.5827, allocations: 207.2 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5828, allocations: 5.406 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5828, allocations: 0 / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5828, allocations: 4 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.5831, allocations: 39.91 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5831, allocations: 4.031 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.5833, allocations: 27.73 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5833, allocations: 7.984 kB / 1.027 GB, free: 8.352 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.000143/0.5834, allocations: 130.2 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.5835, allocations: 15.89 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.584, allocations: 194.4 kB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.584, allocations: 0 / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5841, allocations: 0 / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5841, allocations: 0 / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.5855, allocations: 0.9817 MB / 1.028 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.5856, allocations: 4 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.5858, allocations: 31.91 kB / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5858, allocations: 0 / 1.028 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.5858, allocations: 12.06 kB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5858, allocations: 0 / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5858, allocations: 4 kB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.5863, allocations: 292.9 kB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.5864, allocations: 97 kB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.5865, allocations: 0 / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.5867, allocations: 15.98 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.5867, allocations: 15.92 kB / 1.028 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.5868, allocations: 4 kB / 1.028 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.852e-05/0.5869, allocations: 117.5 kB / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5869, allocations: 0 / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004822/0.5873, allocations: 131.9 kB / 1.029 GB, free: 6.117 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.0004869/0.5878, allocations: 231 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.5884, allocations: 183.7 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5884, allocations: 4 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.5886, allocations: 79.91 kB / 1.029 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.589, allocations: 48.83 kB / 1.029 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.5897, allocations: 372.7 kB / 1.029 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.59, allocations: 0.7164 MB / 1.03 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.5902, allocations: 26.67 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.5903, allocations: 23.44 kB / 1.03 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5903, allocations: 0 / 1.03 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of Templates: time 0.008743/0.599, allocations: 4.248 MB / 1.034 GB, free: 196 kB / 0.7794 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