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.00153/0.00153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.571/2.571, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5685, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003578/0.5721, allocations: 2.037 MB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.5752, allocations: 1.667 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.5754, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-05/0.5755, allocations: 19.78 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.5757, allocations: 47.55 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.577, allocations: 366.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.5773, allocations: 211.2 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.5775, allocations: 61.39 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.5776, allocations: 83.7 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.5778, allocations: 87.73 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.5779, allocations: 16 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000837/0.5787, allocations: 395.5 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.5788, allocations: 43.84 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.287e-05/0.5789, allocations: 83.66 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006832/0.5795, allocations: 425 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5796, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5796, allocations: 4 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5796, allocations: 0 / 1.023 GB, free: 12.97 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.0008099/0.5804, allocations: 0.5147 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.5804, allocations: 11.97 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/0.581, allocations: 92.64 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.5812, allocations: 180.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.5813, allocations: 50.25 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.5813, allocations: 12.38 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.5818, allocations: 187.2 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5818, allocations: 3.938 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.5818, allocations: 8 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.5818, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.5823, allocations: 179.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.5837, allocations: 0.9034 MB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.5842, allocations: 178.5 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.5844, allocations: 73.08 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.5851, allocations: 0.5298 MB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.5852, allocations: 42.55 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.5852, allocations: 0 / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007736/0.5859, allocations: 230.7 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.586, allocations: 51.41 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.5862, allocations: 168.2 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.5862, allocations: 25.7 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.5863, allocations: 123.8 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.5864, allocations: 47.3 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.5864, allocations: 37.7 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5866, allocations: 322.8 kB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.5868, allocations: 67.97 kB / 1.027 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.587, allocations: 105.6 kB / 1.027 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.5874, allocations: 151.1 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5875, allocations: 7.875 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005223/0.588, allocations: 207.2 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.588, allocations: 4 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.588, allocations: 0 / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.5881, allocations: 3.984 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.5883, allocations: 39.92 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5883, allocations: 7.984 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.5885, allocations: 23.73 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.5886, allocations: 8 kB / 1.027 GB, free: 8 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.0001109/0.5887, allocations: 129.8 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.5887, allocations: 11.84 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.5892, allocations: 198.3 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.5893, allocations: 8 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5893, allocations: 0 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5893, allocations: 0 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.5907, allocations: 0.9856 MB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5907, allocations: 0 / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.5909, allocations: 35.91 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.591, allocations: 0 / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.591, allocations: 8 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.591, allocations: 0 / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.591, allocations: 3.984 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.5915, allocations: 293 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.5916, allocations: 89.02 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.5917, allocations: 4 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.5919, allocations: 15.98 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.5919, allocations: 15.92 kB / 1.029 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.592, allocations: 7.984 kB / 1.029 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.061e-05/0.5921, allocations: 120.7 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5921, allocations: 0 / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004776/0.5926, allocations: 127.9 kB / 1.029 GB, free: 5.762 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.0004576/0.593, allocations: 227 kB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.5935, allocations: 183.7 kB / 1.029 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5935, allocations: 64 / 1.029 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.5938, allocations: 87.89 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.5942, allocations: 43.91 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.5949, allocations: 336.8 kB / 1.03 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.5952, allocations: 0.7047 MB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.5953, allocations: 32.03 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.5954, allocations: 19.44 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of SimCode: time 7.41e-07/0.5954, allocations: 0 / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of Templates: time 0.00838/0.6038, allocations: 4.263 MB / 1.035 GB, free: 15.87 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