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.001584/0.001584, allocations: 102 kB / 16.35 MB, free: 5.875 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.001779/0.001779, allocations: 196 kB / 17.3 MB, free: 5.516 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.307/1.307, 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 11.0.0-master/package.mo): time 2.439/2.439, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 62.06 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2858, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003109/0.289, allocations: 2.039 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2912, allocations: 1.666 MB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.2913, allocations: 8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.758e-05/0.2913, allocations: 19.78 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.555e-05/0.2915, allocations: 47.56 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.2923, allocations: 346.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.2925, allocations: 227.1 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.2927, allocations: 49.47 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.907e-05/0.2928, allocations: 83.7 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.2929, allocations: 83.73 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2929, allocations: 23.94 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.2936, allocations: 419.5 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.2937, allocations: 35.91 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.221e-05/0.2938, allocations: 87.66 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.2943, allocations: 427 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2943, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2943, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2943, allocations: 0 / 1.032 GB, free: 12.48 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.0007285/0.295, allocations: 0.5148 MB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2951, allocations: 8.031 kB / 1.033 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005284/0.2956, allocations: 92.58 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2957, allocations: 184.1 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.886e-05/0.2958, allocations: 54.25 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.2959, allocations: 12.38 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.2963, allocations: 182.7 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2963, allocations: 3.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.2963, allocations: 16 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2963, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.2967, allocations: 183.8 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.298, allocations: 0.8996 MB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.2985, allocations: 178.5 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2987, allocations: 80.81 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.2993, allocations: 0.5181 MB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2994, allocations: 42.48 kB / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.2994, allocations: 0 / 1.035 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0006629/0.3, allocations: 235.1 kB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.3001, allocations: 59.41 kB / 1.035 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3002, allocations: 160.9 kB / 1.035 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3002, allocations: 33.7 kB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.3003, allocations: 115.8 kB / 1.036 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3004, allocations: 47.36 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.3004, allocations: 37.7 kB / 1.036 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3005, allocations: 322.8 kB / 1.036 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3007, allocations: 75.95 kB / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3009, allocations: 91.39 kB / 1.036 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3013, allocations: 151.5 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3013, allocations: 7.938 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004599/0.3018, allocations: 209.4 kB / 1.036 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3018, allocations: 7.984 kB / 1.036 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3018, allocations: 0 / 1.036 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3018, allocations: 4 kB / 1.036 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3021, allocations: 43.89 kB / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3021, allocations: 0 / 1.037 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3023, allocations: 31.8 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3023, allocations: 4 kB / 1.037 GB, free: 7.5 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.0001125/0.3024, allocations: 133.7 kB / 1.037 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.3025, allocations: 11.91 kB / 1.037 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.303, allocations: 206.9 kB / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.303, allocations: 0 / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.303, allocations: 0 / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.303, allocations: 0 / 1.037 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.3043, allocations: 0.9779 MB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3044, allocations: 4 kB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.3046, allocations: 27.92 kB / 1.038 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3046, allocations: 4 kB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3046, allocations: 4 kB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3046, allocations: 7.984 kB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3046, allocations: 8.062 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.3051, allocations: 290.8 kB / 1.038 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.3051, allocations: 88.95 kB / 1.038 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3052, allocations: 0 / 1.038 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3054, allocations: 19.98 kB / 1.038 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3054, allocations: 15.92 kB / 1.038 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.3055, allocations: 11.98 kB / 1.038 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.311e-05/0.3055, allocations: 118.5 kB / 1.038 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3056, allocations: 0 / 1.038 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004295/0.306, allocations: 131.8 kB / 1.039 GB, free: 5.25 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.0003948/0.3064, allocations: 223 kB / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.3068, allocations: 179.8 kB / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3068, allocations: 4 kB / 1.039 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.307, allocations: 87.94 kB / 1.039 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.3074, allocations: 38.3 kB / 1.039 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.3082, allocations: 336.8 kB / 1.039 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3084, allocations: 0.7086 MB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.3086, allocations: 33.3 kB / 1.04 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.517e-05/0.3086, allocations: 27.31 kB / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3087, allocations: 0 / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.007497/0.3162, allocations: 4.265 MB / 1.044 GB, free: 15.39 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 gbode -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