Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_10_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.001047/0.001047, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007932/0.007932, allocations: 171.6 kB / 16.27 MB, free: 6.652 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 15.98 kB / 0.873 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6465, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002426/0.6489, allocations: 1.738 MB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003052/0.652, allocations: 1.722 MB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.6522, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.463e-05/0.6523, allocations: 15.91 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.6524, allocations: 43.62 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.6536, allocations: 291.2 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.6539, allocations: 207.1 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.6541, allocations: 45.45 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.6542, allocations: 71.77 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.6544, allocations: 83.73 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.6544, allocations: 11.94 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008404/0.6553, allocations: 387.5 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.6553, allocations: 35.84 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.6554, allocations: 109.3 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007127/0.6562, allocations: 421.2 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6562, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6562, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.6562, allocations: 0 / 1.028 GB, free: 10.72 MB / 0.7794 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.0008414/0.657, allocations: 499 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6571, allocations: 12.03 kB / 1.029 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.519e-05/0.6572, allocations: 46.73 kB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006222/0.6578, allocations: 104.6 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.658, allocations: 176.3 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/0.6581, allocations: 46.25 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.6581, allocations: 16.38 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.6586, allocations: 194.7 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.6586, allocations: 0 / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.6586, allocations: 8 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6586, allocations: 4 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004854/0.6591, allocations: 191.8 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.6606, allocations: 0.9111 MB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.6611, allocations: 186.5 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.6614, allocations: 84.83 kB / 1.031 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/0.662, allocations: 0.5181 MB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.662, allocations: 38.55 kB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.6621, allocations: 0 / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0007479/0.6628, allocations: 249.4 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6629, allocations: 63.34 kB / 1.031 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.663, allocations: 153.5 kB / 1.032 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.663, allocations: 33.7 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.6631, allocations: 119.8 kB / 1.032 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.6632, allocations: 47.3 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.6632, allocations: 21.72 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.6633, allocations: 326.8 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.6635, allocations: 79.95 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.6638, allocations: 95.73 kB / 1.032 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.6642, allocations: 166.9 kB / 1.032 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6642, allocations: 3.938 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005235/0.6647, allocations: 223 kB / 1.033 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.6647, allocations: 8 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6648, allocations: 0 / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6648, allocations: 0 / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.665, allocations: 43.91 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.665, allocations: 0 / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.6652, allocations: 27.83 kB / 1.033 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6653, allocations: 4 kB / 1.033 GB, free: 5.656 MB / 0.7794 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.0001092/0.6654, allocations: 125.8 kB / 1.033 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.6654, allocations: 19.8 kB / 1.033 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.666, allocations: 206.4 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.666, allocations: 4 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.666, allocations: 0 / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.666, allocations: 3.984 kB / 1.033 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.6674, allocations: 0.9895 MB / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6674, allocations: 0 / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.6676, allocations: 35.91 kB / 1.034 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.6677, allocations: 4.062 kB / 1.034 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.6677, allocations: 8 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6677, allocations: 0 / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6677, allocations: 0 / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.6682, allocations: 297 kB / 1.034 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.6683, allocations: 92.91 kB / 1.034 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.6683, allocations: 8 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.6686, allocations: 15.92 kB / 1.034 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.6686, allocations: 23.92 kB / 1.034 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.6686, allocations: 7.984 kB / 1.034 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.6687, allocations: 115.2 kB / 1.035 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6687, allocations: 0 / 1.035 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004594/0.6692, allocations: 127.9 kB / 1.035 GB, free: 3.383 MB / 0.7794 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.001138/0.6703, allocations: 0.9599 MB / 1.036 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.6708, allocations: 191.8 kB / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6708, allocations: 0 / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.6711, allocations: 87.89 kB / 1.036 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.6715, allocations: 48.05 kB / 1.036 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.6743, allocations: 2.126 MB / 1.038 GB, free: 15.85 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.6746, allocations: 0.7088 MB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.6747, allocations: 33.91 kB / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.6748, allocations: 43.42 kB / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/0.6748, allocations: 0 / 1.039 GB, free: 15.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.6922, allocations: 5.693 MB / 1.044 GB, free: 9.566 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.6925, allocations: 225.7 kB / 1.045 GB, free: 9.312 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.729, allocations: 0 / 1.045 GB, free: 9.312 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches