Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_10_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.007274/0.007274, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001732/0.001732, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.348/2.348, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002383, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7847, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003427/0.7882, allocations: 2.03 MB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002536/0.7907, allocations: 1.667 MB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.7909, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.118e-05/0.791, allocations: 23.78 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.7912, allocations: 47.66 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.7924, allocations: 356.1 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.7927, allocations: 223 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.7928, allocations: 49.47 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.7929, allocations: 83.75 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.7931, allocations: 83.75 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.7931, allocations: 20 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.7939, allocations: 415.5 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.794, allocations: 43.84 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.7941, allocations: 83.66 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.7947, allocations: 429.2 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7947, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7947, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.7947, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 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.0007978/0.7955, allocations: 0.5186 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7956, allocations: 12.92 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.7956, allocations: 50.73 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005341/0.7962, allocations: 96.58 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.7963, allocations: 180.2 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.942e-05/0.7964, allocations: 46.27 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.7964, allocations: 12.38 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.7968, allocations: 190.9 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7969, allocations: 0 / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.7969, allocations: 8 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.7969, allocations: 4 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.7973, allocations: 183.8 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.7987, allocations: 0.9149 MB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.7991, allocations: 174.5 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.7993, allocations: 80.81 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.7999, allocations: 0.522 MB / 1.174 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.8, allocations: 34.56 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.8, allocations: 0 / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0006811/0.8007, allocations: 247.3 kB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.8007, allocations: 51.41 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.8009, allocations: 160.9 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.8009, allocations: 29.64 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.801, allocations: 123.6 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.801, allocations: 47.3 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.8011, allocations: 37.7 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8012, allocations: 326.8 kB / 1.175 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.8014, allocations: 71.95 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.8016, allocations: 93.67 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.8019, allocations: 151.5 kB / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8019, allocations: 0 / 1.176 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004631/0.8024, allocations: 220.1 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8024, allocations: 8 kB / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8025, allocations: 0 / 1.176 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8025, allocations: 8.016 kB / 1.176 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.8027, allocations: 39.91 kB / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.8027, allocations: 0 / 1.176 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.8029, allocations: 23.83 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.803, allocations: 8 kB / 1.176 GB, free: 9.18 MB / 0.9044 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.0001086/0.8031, allocations: 121.8 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.8031, allocations: 15.81 kB / 1.176 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.8036, allocations: 202.3 kB / 1.176 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.8036, allocations: 4 kB / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8037, allocations: 0 / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8037, allocations: 0 / 1.176 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.805, allocations: 0.9855 MB / 1.177 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.8051, allocations: 0 / 1.177 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.8053, allocations: 27.98 kB / 1.177 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8053, allocations: 8 kB / 1.177 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.8053, allocations: 7.984 kB / 1.177 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.8053, allocations: 4 kB / 1.177 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8053, allocations: 0 / 1.177 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.8058, allocations: 286.7 kB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.8059, allocations: 92.92 kB / 1.178 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.8059, allocations: 8 kB / 1.178 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.8061, allocations: 19.97 kB / 1.178 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.8061, allocations: 15.86 kB / 1.178 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.8062, allocations: 4 kB / 1.178 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.446e-05/0.8063, allocations: 121.7 kB / 1.178 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8063, allocations: 4 kB / 1.178 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004557/0.8067, allocations: 127.9 kB / 1.178 GB, free: 6.938 MB / 0.9044 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.001038/0.8078, allocations: 0.9442 MB / 1.179 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.8082, allocations: 173.1 kB / 1.179 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8082, allocations: 0 / 1.179 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.8085, allocations: 88 kB / 1.179 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.8089, allocations: 40.88 kB / 1.179 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.8116, allocations: 2.086 MB / 1.181 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.8119, allocations: 0.7086 MB / 1.182 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.812, allocations: 32.03 kB / 1.182 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.8122, allocations: 43.42 kB / 1.182 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.364e-06/0.8122, allocations: 0 / 1.182 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.8372, allocations: 6.063 MB / 1.188 GB, free: 12.81 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.329, allocations: 14.17 kB / 1.188 GB, free: 12.8 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches