Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001897/0.001897, allocations: 190.9 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 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.399/2.399, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 69.25 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2756, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003068/0.2787, allocations: 2.044 MB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.281, allocations: 1.667 MB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.754e-05/0.2811, allocations: 4 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.617e-05/0.2811, allocations: 15.8 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.2812, allocations: 47.55 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009181/0.2822, allocations: 354.8 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.2824, allocations: 219.1 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2826, allocations: 61.36 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.2827, allocations: 79.77 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2828, allocations: 87.67 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.2828, allocations: 20 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.2836, allocations: 411.5 kB / 1.024 GB, free: 4.859 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.2836, allocations: 35.91 kB / 1.024 GB, free: 4.824 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.2837, allocations: 91.64 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.2842, allocations: 434.9 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2842, allocations: 0 / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2842, allocations: 4 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.2842, allocations: 0 / 1.024 GB, free: 4.305 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.0007316/0.285, allocations: 0.5031 MB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.285, allocations: 16.88 kB / 1.025 GB, free: 3.734 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/0.2855, allocations: 88.64 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2857, allocations: 184.1 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.846e-05/0.2858, allocations: 50.27 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.2858, allocations: 12.38 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.2862, allocations: 183.3 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2862, allocations: 3.938 kB / 1.025 GB, free: 3.176 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.2862, allocations: 15.94 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2863, allocations: 0 / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.2867, allocations: 183.7 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.288, allocations: 0.9151 MB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.2885, allocations: 174.5 kB / 1.026 GB, free: 1.762 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2887, allocations: 80.83 kB / 1.027 GB, free: 1.68 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.2893, allocations: 0.5142 MB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2894, allocations: 34.56 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.2894, allocations: 7.984 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007203/0.2901, allocations: 231.9 kB / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.2902, allocations: 55.41 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2903, allocations: 164.6 kB / 1.027 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2904, allocations: 33.7 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.2905, allocations: 111.8 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.2905, allocations: 51.36 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.2906, allocations: 37.7 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2907, allocations: 326.8 kB / 1.028 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2909, allocations: 71.95 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2912, allocations: 91.39 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.2915, allocations: 155.5 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2915, allocations: 3.938 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004692/0.292, allocations: 213.4 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2921, allocations: 4 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2921, allocations: 4.031 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2921, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2923, allocations: 39.91 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2924, allocations: 0 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.2926, allocations: 27.77 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.2926, allocations: 8 kB / 1.029 GB, free: 15.34 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.0001159/0.2927, allocations: 126.4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.2928, allocations: 19.89 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.2933, allocations: 193.9 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2933, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2933, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2933, allocations: 3.984 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.2946, allocations: 0.9817 MB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2946, allocations: 4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.2948, allocations: 32.03 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2948, allocations: 4 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2948, allocations: 4 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2948, allocations: 3.938 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2949, allocations: 7.938 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.2953, allocations: 289 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.2954, allocations: 88.95 kB / 1.03 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2954, allocations: 3.984 kB / 1.03 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2956, allocations: 15.98 kB / 1.03 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.2957, allocations: 15.92 kB / 1.03 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.2957, allocations: 11.94 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.163e-05/0.2958, allocations: 125.6 kB / 1.03 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2958, allocations: 0 / 1.03 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004698/0.2963, allocations: 127.9 kB / 1.031 GB, free: 13.1 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.0004585/0.2968, allocations: 223.1 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.2973, allocations: 177.9 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2973, allocations: 0 / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.2975, allocations: 88.08 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.2979, allocations: 35.98 kB / 1.031 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.2987, allocations: 348.6 kB / 1.031 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.299, allocations: 0.7086 MB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.2991, allocations: 25.41 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.2992, allocations: 23.42 kB / 1.032 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2992, allocations: 4 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of Templates: time 0.007339/0.3065, allocations: 4.27 MB / 1.036 GB, free: 7.211 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches