Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, 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.001702/0.001702, allocations: 198.7 kB / 16.26 MB, free: 6.625 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 60.31 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2744, allocations: 157.4 MB / 1.052 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003023/0.2775, allocations: 2.088 MB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.2796, allocations: 1.651 MB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.2797, allocations: 3.938 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.639e-05/0.2798, allocations: 15.91 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.2799, allocations: 47.61 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.2809, allocations: 311.2 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.2811, allocations: 219.1 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2812, allocations: 53.47 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2813, allocations: 83.77 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2815, allocations: 79.73 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.2815, allocations: 20 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.2822, allocations: 419.5 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.2822, allocations: 47.84 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.575e-05/0.2823, allocations: 87.66 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.2829, allocations: 427.2 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2829, allocations: 0 / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2829, allocations: 7.938 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2829, allocations: 0 / 1.058 GB, free: 3.035 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.000755/0.2837, allocations: 0.5148 MB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2837, allocations: 8.625 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.2838, allocations: 50.73 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.2843, allocations: 92.64 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2844, allocations: 184.1 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/0.2845, allocations: 50.25 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.2845, allocations: 16.38 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.2849, allocations: 198.2 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2849, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.285, allocations: 4 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.285, allocations: 4 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.2854, allocations: 183.8 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2866, allocations: 0.9072 MB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.2871, allocations: 177.5 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.2873, allocations: 80.81 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005954/0.2879, allocations: 0.5259 MB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2879, allocations: 34.56 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.288, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0006407/0.2886, allocations: 237.7 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.2886, allocations: 55.41 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2888, allocations: 156.5 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.2888, allocations: 37.69 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.2889, allocations: 115.7 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.2889, allocations: 51.3 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.289, allocations: 37.7 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.2891, allocations: 326.8 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2893, allocations: 71.95 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2895, allocations: 91.22 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.2898, allocations: 154.9 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2898, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004512/0.2903, allocations: 217.4 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2903, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2903, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2903, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.2906, allocations: 43.94 kB / 1.062 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2906, allocations: 3.938 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2908, allocations: 27.77 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2908, allocations: 4 kB / 1.062 GB, free: 13.99 MB / 0.8262 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 9.806e-05/0.2909, allocations: 127.3 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.291, allocations: 11.91 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.2914, allocations: 206.3 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.2915, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2915, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2915, allocations: 0 / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.2928, allocations: 0.9817 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2928, allocations: 4 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.293, allocations: 31.92 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.293, allocations: 64 / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.293, allocations: 15.98 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.293, allocations: 0 / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.293, allocations: 0 / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.2935, allocations: 295.7 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.2935, allocations: 88.95 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.2935, allocations: 0 / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.2938, allocations: 19.97 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.2938, allocations: 19.86 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2938, allocations: 8 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.374e-05/0.2939, allocations: 118.5 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2939, allocations: 0 / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004104/0.2943, allocations: 135.8 kB / 1.064 GB, free: 11.75 MB / 0.8262 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.0009986/0.2953, allocations: 0.9364 MB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.2958, allocations: 186 kB / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2958, allocations: 0 / 1.065 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.296, allocations: 83.89 kB / 1.065 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.2964, allocations: 52.02 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.2988, allocations: 2.088 MB / 1.068 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.299, allocations: 0.7086 MB / 1.068 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000161/0.2992, allocations: 39.91 kB / 1.068 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.412e-05/0.2993, allocations: 39.42 kB / 1.068 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.2993, allocations: 0 / 1.068 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.532/2.831, allocations: 5.885 MB / 1.074 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/2.831, allocations: 234.5 kB / 1.074 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/5.214, allocations: 5.656 kB / 1.074 GB, free: 1.531 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches