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.01122/0.01122, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002144/0.002144, allocations: 197.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.534/2.534, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.922/4.922, allocations: 437.1 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 63.89 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5339, allocations: 151.6 MB / 1.166 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00535/0.5393, allocations: 2.02 MB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.5437, allocations: 1.663 MB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.5439, allocations: 0 / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.5442, allocations: 23.78 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.5444, allocations: 47.55 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.5464, allocations: 362.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.5469, allocations: 219.1 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.5472, allocations: 53.47 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.5474, allocations: 87.7 kB / 1.171 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.5476, allocations: 83.67 kB / 1.171 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.5477, allocations: 20 kB / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.5492, allocations: 415.5 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.5493, allocations: 39.91 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.5495, allocations: 91.64 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.5506, allocations: 426.9 kB / 1.172 GB, free: 1.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5506, allocations: 4 kB / 1.172 GB, free: 1.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5506, allocations: 0 / 1.172 GB, free: 1.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.5506, allocations: 0 / 1.172 GB, free: 1.906 MB / 0.92 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.001339/0.552, allocations: 0.5179 MB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.5521, allocations: 12.03 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.295e-05/0.5522, allocations: 50.73 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008362/0.553, allocations: 92.73 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.5533, allocations: 180.2 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.5534, allocations: 50.25 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.5535, allocations: 16.38 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.5542, allocations: 190.9 kB / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5542, allocations: 0 / 1.173 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.5543, allocations: 12 kB / 1.173 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5543, allocations: 4 kB / 1.173 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007655/0.5551, allocations: 175.9 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.5574, allocations: 0.9188 MB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.5582, allocations: 174.5 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.5585, allocations: 76.81 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.5597, allocations: 0.5181 MB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.5597, allocations: 42.55 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 4.018e-06/0.5598, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.00121/0.561, allocations: 233.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.5611, allocations: 51.41 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5613, allocations: 165.1 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.5614, allocations: 29.7 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.5615, allocations: 123.9 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.5616, allocations: 47.58 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.5617, allocations: 37.66 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.5619, allocations: 326.8 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.5623, allocations: 71.95 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.5627, allocations: 101.6 kB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.5634, allocations: 151.6 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5634, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008476/0.5642, allocations: 215.7 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5643, allocations: 16.02 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.5643, allocations: 3.984 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.5644, allocations: 0 / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.5648, allocations: 35.92 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.5648, allocations: 3.984 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.5651, allocations: 31.88 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.5651, allocations: 4 kB / 1.176 GB, free: 12.85 MB / 0.9356 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.0002062/0.5653, allocations: 129.7 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.5654, allocations: 15.91 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.5663, allocations: 190.4 kB / 1.176 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5663, allocations: 4 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5663, allocations: 0 / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.5663, allocations: 4 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.5688, allocations: 0.9856 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.5688, allocations: 0 / 1.177 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.5691, allocations: 27.92 kB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5691, allocations: 4 kB / 1.177 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.5692, allocations: 4 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.5692, allocations: 7.984 kB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5692, allocations: 0 / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.5701, allocations: 296.6 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.5702, allocations: 89.02 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.5702, allocations: 4 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.5705, allocations: 15.98 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.5706, allocations: 15.92 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-05/0.5707, allocations: 7.984 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001547/0.5709, allocations: 125.5 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5709, allocations: 0 / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008192/0.5717, allocations: 127.5 kB / 1.178 GB, free: 10.61 MB / 0.9356 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.001909/0.5736, allocations: 0.9517 MB / 1.179 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008306/0.5745, allocations: 167.9 kB / 1.179 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.5745, allocations: 4 kB / 1.179 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.5749, allocations: 83.89 kB / 1.179 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006705/0.5755, allocations: 49.91 kB / 1.179 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.5805, allocations: 2.082 MB / 1.181 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.581, allocations: 0.7086 MB / 1.182 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002588/0.5813, allocations: 31.84 kB / 1.182 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.5815, allocations: 39.42 kB / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of SimCode: time 1.233e-06/0.5815, allocations: 0 / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04737/0.6288, allocations: 6.068 MB / 1.188 GB, free: 488 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.51, allocations: 20.19 kB / 1.188 GB, free: 476 kB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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