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.001168/0.001168, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001195/0.001195, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.54/2.54, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.97 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003127/0.2786, allocations: 2.038 MB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.2809, allocations: 1.667 MB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.281, allocations: 0 / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.473e-05/0.2811, allocations: 15.86 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2812, allocations: 47.55 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.2822, allocations: 354.8 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.2825, allocations: 227.1 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2827, allocations: 57.38 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.2828, allocations: 79.77 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2829, allocations: 87.67 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.283, allocations: 20 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.2837, allocations: 411.5 kB / 1.024 GB, free: 4.824 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.2838, allocations: 43.89 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.2839, allocations: 83.66 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.2845, allocations: 430.9 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2845, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.158e-06/0.2845, allocations: 4 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2845, allocations: 3.938 kB / 1.024 GB, free: 4.27 MB / 0.795 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.000773/0.2853, allocations: 0.507 MB / 1.025 GB, free: 3.711 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2853, allocations: 12.92 kB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005299/0.2859, allocations: 88.64 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.286, allocations: 184.1 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/0.2861, allocations: 50.25 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.2862, allocations: 16.38 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.2866, allocations: 183.3 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2866, allocations: 3.938 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.2867, allocations: 4 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2867, allocations: 4 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004355/0.2871, allocations: 183.7 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.2885, allocations: 0.9073 MB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/0.289, allocations: 174.5 kB / 1.026 GB, free: 1.738 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.2892, allocations: 84.77 kB / 1.027 GB, free: 1.652 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.2898, allocations: 0.5181 MB / 1.027 GB, free: 1.023 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.2898, allocations: 34.56 kB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 4.178e-06/0.2898, allocations: 7.984 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0006728/0.2905, allocations: 230.9 kB / 1.027 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2906, allocations: 55.41 kB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2907, allocations: 165.2 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2907, allocations: 33.7 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.2908, allocations: 111.8 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.2909, allocations: 51.36 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.2909, allocations: 37.7 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2911, allocations: 322.8 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.2913, allocations: 75.89 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.2915, allocations: 91.39 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.2919, allocations: 155.5 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2919, allocations: 3.938 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000482/0.2924, allocations: 213.4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2924, allocations: 4 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2924, allocations: 4.031 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2924, allocations: 8 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2927, allocations: 35.97 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2927, allocations: 3.938 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.2929, allocations: 27.77 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2929, allocations: 7.984 kB / 1.029 GB, free: 15.3 MB / 0.8106 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.0001052/0.293, allocations: 130.4 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.338e-05/0.2931, allocations: 15.91 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.2936, allocations: 196.4 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2936, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2936, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2936, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.295, allocations: 0.9817 MB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.295, allocations: 0 / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.2952, allocations: 40.03 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2952, allocations: 0 / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2952, allocations: 4 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2953, allocations: 3.938 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2953, allocations: 0 / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.2957, allocations: 295.6 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.2958, allocations: 92.94 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.2958, allocations: 0 / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.2961, allocations: 15.98 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.2961, allocations: 15.86 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2961, allocations: 8 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.71e-05/0.2962, allocations: 123.2 kB / 1.03 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2962, allocations: 0 / 1.03 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004297/0.2967, allocations: 127.9 kB / 1.031 GB, free: 13.07 MB / 0.8106 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.0004009/0.2971, allocations: 227 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.2976, allocations: 175.8 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2976, allocations: 0 / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.2978, allocations: 80.09 kB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.2982, allocations: 45.86 kB / 1.031 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.2988, allocations: 332.6 kB / 1.031 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2991, allocations: 0.7086 MB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001331/0.2993, allocations: 28.3 kB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/0.2993, allocations: 23.38 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of SimCode: time 2.9e-07/0.2993, allocations: 4 kB / 1.032 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.007576/0.3069, allocations: 4.262 MB / 1.036 GB, free: 7.195 MB / 0.8106 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 -s cvode -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/jenkins1/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