Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001347/0.001347, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001373/0.001373, allocations: 193 kB / 16.25 MB, free: 6.629 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 482.3 MB / 0.7543 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 70.94 kB / 0.9233 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.273, allocations: 162.2 MB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00324/0.2762, allocations: 2.081 MB / 1.084 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.2787, allocations: 1.651 MB / 1.085 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.2787, allocations: 3.938 kB / 1.085 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.237e-05/0.2788, allocations: 19.91 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.2789, allocations: 47.61 kB / 1.085 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.2797, allocations: 315.2 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.28, allocations: 215.1 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2801, allocations: 58.95 kB / 1.086 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.2802, allocations: 79.78 kB / 1.086 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2804, allocations: 83.73 kB / 1.086 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.2804, allocations: 23.98 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.2812, allocations: 415.5 kB / 1.087 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.2812, allocations: 39.84 kB / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.2813, allocations: 95.64 kB / 1.087 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2819, allocations: 435.2 kB / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2819, allocations: 0 / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2819, allocations: 0 / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2819, allocations: 0 / 1.087 GB, free: 8.035 MB / 0.8419 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.0008063/0.2827, allocations: 0.5108 MB / 1.088 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.2828, allocations: 8.031 kB / 1.088 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.2833, allocations: 92.64 kB / 1.088 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2835, allocations: 180.1 kB / 1.088 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.2836, allocations: 58.23 kB / 1.088 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.2836, allocations: 12.38 kB / 1.088 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.284, allocations: 182 kB / 1.088 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2841, allocations: 3.938 kB / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.2841, allocations: 8 kB / 1.088 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2841, allocations: 4 kB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.2846, allocations: 187.8 kB / 1.088 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.286, allocations: 0.8957 MB / 1.089 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.2865, allocations: 170.5 kB / 1.089 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.2867, allocations: 88.75 kB / 1.089 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007279/0.2875, allocations: 0.522 MB / 1.09 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2875, allocations: 38.56 kB / 1.09 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.2875, allocations: 0 / 1.09 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007095/0.2882, allocations: 239.2 kB / 1.09 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.2883, allocations: 55.41 kB / 1.09 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2884, allocations: 156.1 kB / 1.09 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.2885, allocations: 29.69 kB / 1.09 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.2886, allocations: 119.8 kB / 1.091 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.2886, allocations: 43.36 kB / 1.091 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.796e-05/0.2887, allocations: 41.61 kB / 1.091 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2889, allocations: 326.8 kB / 1.091 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.2891, allocations: 83.89 kB / 1.091 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2893, allocations: 89.67 kB / 1.091 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.2897, allocations: 147.7 kB / 1.091 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.2897, allocations: 7.938 kB / 1.091 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005084/0.2902, allocations: 211.2 kB / 1.091 GB, free: 3.152 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2903, allocations: 4 kB / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2903, allocations: 0 / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.2903, allocations: 0 / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.2905, allocations: 39.97 kB / 1.092 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2906, allocations: 7.938 kB / 1.092 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.2907, allocations: 27.8 kB / 1.092 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.2908, allocations: 8 kB / 1.092 GB, free: 3.066 MB / 0.8419 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.000121/0.2909, allocations: 125.8 kB / 1.092 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.291, allocations: 15.81 kB / 1.092 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.2915, allocations: 205.6 kB / 1.092 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2915, allocations: 3.938 kB / 1.092 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2915, allocations: 0 / 1.092 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2915, allocations: 0 / 1.092 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.2931, allocations: 0.9856 MB / 1.093 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2931, allocations: 0 / 1.093 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.2933, allocations: 27.98 kB / 1.093 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2933, allocations: 0 / 1.093 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.2933, allocations: 11.98 kB / 1.093 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2933, allocations: 3.938 kB / 1.093 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2933, allocations: 4.062 kB / 1.093 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.2939, allocations: 285 kB / 1.093 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.2939, allocations: 96.86 kB / 1.093 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.294, allocations: 0 / 1.093 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.2942, allocations: 23.97 kB / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2943, allocations: 11.92 kB / 1.093 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.2943, allocations: 4 kB / 1.093 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.2944, allocations: 121.9 kB / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2944, allocations: 3.938 kB / 1.093 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004518/0.2948, allocations: 131.9 kB / 1.094 GB, free: 0.8164 MB / 0.8419 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.0004384/0.2953, allocations: 230 kB / 1.094 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.2958, allocations: 179.8 kB / 1.094 GB, free: 420 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2958, allocations: 0 / 1.094 GB, free: 420 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.296, allocations: 83.89 kB / 1.094 GB, free: 336 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2964, allocations: 44.16 kB / 1.094 GB, free: 292 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007808/0.2972, allocations: 384.5 kB / 1.094 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.2976, allocations: 0.7086 MB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00016/0.2977, allocations: 28.8 kB / 1.095 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.2978, allocations: 23.42 kB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2978, allocations: 0 / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.00832/0.3061, allocations: 4.265 MB / 1.099 GB, free: 10.91 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches