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.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_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001142/0.001142, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.626/2.626, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.45 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2909, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003273/0.2942, allocations: 2.041 MB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.2966, allocations: 1.667 MB / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2967, allocations: 0 / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.969e-05/0.2968, allocations: 23.78 kB / 1.057 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.297, allocations: 47.55 kB / 1.057 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2981, allocations: 358.8 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.2984, allocations: 219.1 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2985, allocations: 49.45 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.2987, allocations: 83.78 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2988, allocations: 91.72 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.2989, allocations: 16 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008218/0.2997, allocations: 395.5 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.2998, allocations: 43.84 kB / 1.058 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.927e-05/0.2999, allocations: 87.64 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.3005, allocations: 423.2 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3005, allocations: 4 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3005, allocations: 8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3005, allocations: 0 / 1.058 GB, free: 2.703 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.000862/0.3014, allocations: 0.507 MB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3015, allocations: 8.625 kB / 1.059 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.3015, allocations: 50.67 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005994/0.3021, allocations: 92.64 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3023, allocations: 184.1 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.3024, allocations: 46.25 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.3024, allocations: 20.31 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.3028, allocations: 198.2 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3029, allocations: 0 / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3029, allocations: 4 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3029, allocations: 4 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.3034, allocations: 175.9 kB / 1.06 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3048, allocations: 0.9188 MB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.3053, allocations: 170.6 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.3055, allocations: 80.81 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006631/0.3062, allocations: 0.5142 MB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3062, allocations: 38.55 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/0.3062, allocations: 0 / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.0007347/0.307, allocations: 233.6 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.307, allocations: 59.41 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3072, allocations: 158.4 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3072, allocations: 33.7 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3073, allocations: 115.8 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.3073, allocations: 51.34 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.3074, allocations: 41.64 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3075, allocations: 322.8 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.3077, allocations: 71.95 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.308, allocations: 97.67 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.3084, allocations: 152.8 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3084, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005412/0.3089, allocations: 217.4 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.309, allocations: 7.984 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.309, allocations: 0 / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.309, allocations: 4 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.3092, allocations: 35.97 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3093, allocations: 0 / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3095, allocations: 27.77 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3095, allocations: 4.031 kB / 1.063 GB, free: 13.68 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 0.0001171/0.3096, allocations: 137.7 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.3097, allocations: 15.89 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005264/0.3102, allocations: 199.7 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3102, allocations: 4 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3102, allocations: 4 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3102, allocations: 0 / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.3116, allocations: 0.9817 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3117, allocations: 4 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.3119, allocations: 27.98 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3119, allocations: 3.938 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3119, allocations: 4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.3119, allocations: 3.984 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3119, allocations: 4 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.3124, allocations: 293 kB / 1.064 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.3125, allocations: 88.95 kB / 1.064 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.3125, allocations: 4 kB / 1.064 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.3128, allocations: 15.98 kB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3128, allocations: 15.92 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3129, allocations: 11.98 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.177e-05/0.313, allocations: 118.1 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.313, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004662/0.3134, allocations: 131.8 kB / 1.065 GB, free: 11.43 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.001127/0.3146, allocations: 0.9403 MB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.3151, allocations: 175.8 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3151, allocations: 7.938 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.3153, allocations: 84.08 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.3157, allocations: 47.91 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3185, allocations: 2.059 MB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3187, allocations: 0.7125 MB / 1.069 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.3189, allocations: 28.67 kB / 1.069 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.533e-05/0.319, allocations: 39.42 kB / 1.069 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.319, allocations: 0 / 1.069 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.3429, allocations: 6.015 MB / 1.075 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.45, allocations: 11.39 kB / 1.075 GB, free: 1.363 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > 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