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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001148/0.001148, allocations: 102.3 kB / 16.35 MB, free: 6.285 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.00127/0.00127, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.339/1.339, 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 11.0.0-master/package.mo): time 2.439/2.439, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 73.39 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2858, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003369/0.2892, allocations: 2.038 MB / 1.029 GB, free: 56 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.2915, allocations: 1.667 MB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.2916, allocations: 4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.47e-05/0.2917, allocations: 19.78 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.563e-05/0.2918, allocations: 51.55 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009026/0.2927, allocations: 354.8 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.2929, allocations: 215.1 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2931, allocations: 49.47 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2932, allocations: 79.72 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2934, allocations: 87.72 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.2934, allocations: 24 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000797/0.2942, allocations: 411.5 kB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.2943, allocations: 43.89 kB / 1.032 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.778e-05/0.2944, allocations: 83.66 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.295, allocations: 434.9 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.295, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.295, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.295, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 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.0008857/0.2959, allocations: 0.5109 MB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2959, allocations: 8.031 kB / 1.033 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.2965, allocations: 92.64 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2967, allocations: 188 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.2968, allocations: 50.25 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.2968, allocations: 12.38 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.2972, allocations: 178.7 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2972, allocations: 3.938 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.2973, allocations: 12 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.2973, allocations: 4 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.2977, allocations: 191.7 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.299, allocations: 0.8996 MB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.2995, allocations: 178.5 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.2997, allocations: 76.81 kB / 1.034 GB, free: 9.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007153/0.3004, allocations: 0.522 MB / 1.035 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3005, allocations: 34.56 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 2.364e-06/0.3005, allocations: 3.938 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0007018/0.3012, allocations: 237.7 kB / 1.035 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.3012, allocations: 55.39 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3014, allocations: 161.7 kB / 1.035 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.3014, allocations: 29.64 kB / 1.035 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.3015, allocations: 123.8 kB / 1.036 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3015, allocations: 47.34 kB / 1.036 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.3016, allocations: 33.7 kB / 1.036 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3017, allocations: 330.8 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.3019, allocations: 71.95 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3021, allocations: 95.39 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.3025, allocations: 151.5 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3025, allocations: 3.938 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000475/0.303, allocations: 213.4 kB / 1.036 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.303, allocations: 8 kB / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.303, allocations: 0 / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.303, allocations: 0 / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3033, allocations: 39.91 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3033, allocations: 4.031 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.3035, allocations: 27.77 kB / 1.037 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3035, allocations: 8 kB / 1.037 GB, free: 7.574 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.0001092/0.3036, allocations: 125.7 kB / 1.037 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.3037, allocations: 11.91 kB / 1.037 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.3042, allocations: 206.3 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.3042, allocations: 4 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3042, allocations: 0 / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3042, allocations: 0 / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.3056, allocations: 0.9779 MB / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3056, allocations: 3.938 kB / 1.038 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3058, allocations: 27.92 kB / 1.038 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3059, allocations: 4 kB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3059, allocations: 12.05 kB / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3059, allocations: 4 kB / 1.038 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3059, allocations: 4 kB / 1.038 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.3064, allocations: 282.8 kB / 1.038 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.3065, allocations: 100.9 kB / 1.038 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3065, allocations: 4 kB / 1.038 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3067, allocations: 19.97 kB / 1.038 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3068, allocations: 15.86 kB / 1.038 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3068, allocations: 4 kB / 1.038 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.3069, allocations: 121.3 kB / 1.038 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3069, allocations: 0 / 1.038 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004635/0.3073, allocations: 131.8 kB / 1.039 GB, free: 5.324 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.0004172/0.3078, allocations: 223 kB / 1.039 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004922/0.3083, allocations: 183.8 kB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3083, allocations: 0 / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3085, allocations: 83.89 kB / 1.039 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3089, allocations: 36.17 kB / 1.039 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.3096, allocations: 336.8 kB / 1.039 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3099, allocations: 0.7047 MB / 1.04 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00013/0.31, allocations: 31.62 kB / 1.04 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.763e-05/0.3101, allocations: 19.44 kB / 1.04 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3101, allocations: 3.938 kB / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of Templates: time 0.007774/0.3179, allocations: 4.28 MB / 1.044 GB, free: 15.46 MB / 0.8262 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=480 -s cvode -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/jenkins1/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