Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001172/0.001172, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001238/0.001238, allocations: 183 kB / 17.34 MB, free: 5.766 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9935/0.9948, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003323/0.9982, allocations: 2.019 MB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002407/1.001, allocations: 1.665 MB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/1.001, allocations: 2.469 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.77e-05/1.001, allocations: 19.78 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/1.001, allocations: 49.08 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/1.002, allocations: 357.5 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002797/1.002, allocations: 215.7 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/1.003, allocations: 61.17 kB / 1.093 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/1.003, allocations: 81.61 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/1.003, allocations: 91.69 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/1.003, allocations: 19.28 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/1.004, allocations: 409.3 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/1.004, allocations: 42 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/1.004, allocations: 85.7 kB / 1.094 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007561/1.005, allocations: 435.7 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.005, allocations: 0.75 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/1.005, allocations: 0 / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.005, allocations: 0.6562 kB / 1.094 GB, free: 2.137 MB / 0.8575 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.0008272/1.006, allocations: 0.5099 MB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.006, allocations: 9.797 kB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006306/1.006, allocations: 85.75 kB / 1.095 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/1.007, allocations: 178.6 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/1.007, allocations: 49.25 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/1.007, allocations: 18.38 kB / 1.095 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/1.007, allocations: 184.9 kB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.007, allocations: 3.938 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.007, allocations: 9.625 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.007, allocations: 3.344 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/1.008, allocations: 183.8 kB / 1.095 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/1.009, allocations: 0.9185 MB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/1.01, allocations: 174.9 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/1.01, allocations: 78.44 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/1.01, allocations: 0.5155 MB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/1.011, allocations: 41.28 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/1.011, allocations: 0 / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0007932/1.011, allocations: 239.4 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/1.011, allocations: 56.72 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/1.012, allocations: 158.6 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/1.012, allocations: 26.52 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/1.012, allocations: 123.4 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/1.012, allocations: 53.92 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/1.012, allocations: 33.61 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.012, allocations: 326.2 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/1.012, allocations: 71.33 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/1.012, allocations: 98.73 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/1.013, allocations: 149.3 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.013, allocations: 3.938 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005561/1.013, allocations: 210.2 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.013, allocations: 8.75 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.013, allocations: 1.125 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.014, allocations: 1.812 kB / 1.098 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/1.014, allocations: 43.55 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.014, allocations: 5.109 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/1.014, allocations: 21.12 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/1.014, allocations: 9.375 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.0001202/1.014, allocations: 128.9 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/1.014, allocations: 12.17 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/1.015, allocations: 207.6 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.015, allocations: 1.844 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.015, allocations: 0 / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.015, allocations: 5.953 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.016, allocations: 0.9751 MB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.016, allocations: 1.125 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/1.017, allocations: 32.27 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.017, allocations: 1.062 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/1.017, allocations: 11.48 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/1.017, allocations: 1.625 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.017, allocations: 5.062 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/1.017, allocations: 290.4 kB / 1.1 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/1.017, allocations: 89.48 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/1.017, allocations: 2.922 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/1.018, allocations: 21.39 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/1.018, allocations: 17.45 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/1.018, allocations: 4.531 kB / 1.1 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.974e-05/1.018, allocations: 121.2 kB / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.018, allocations: 0 / 1.1 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006696/1.018, allocations: 130.1 kB / 1.1 GB, free: 13.04 MB / 0.8731 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.0004965/1.019, allocations: 228.1 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005422/1.019, allocations: 176.9 kB / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.019, allocations: 0 / 1.101 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/1.02, allocations: 91.02 kB / 1.101 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/1.02, allocations: 33.88 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/1.021, allocations: 345.7 kB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/1.021, allocations: 0.7069 MB / 1.102 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/1.021, allocations: 26.55 kB / 1.102 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/1.021, allocations: 0 / 1.102 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.00867/1.03, allocations: 3.869 MB / 1.106 GB, free: 11.44 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches