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.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,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.007355/0.007355, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001127/0.001127, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.259/1.259, 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.393/2.393, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7775, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003404/0.7809, allocations: 2.025 MB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.7837, allocations: 1.667 MB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.7839, allocations: 4 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.663e-05/0.784, allocations: 19.78 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.7841, allocations: 51.55 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.7853, allocations: 358.8 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000257/0.7855, allocations: 219.2 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.7857, allocations: 49.47 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.7858, allocations: 91.69 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.786, allocations: 79.75 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.786, allocations: 20 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.7868, allocations: 411.5 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.7869, allocations: 43.84 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.787, allocations: 87.66 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.7875, allocations: 421.3 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7876, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7876, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7876, allocations: 4 kB / 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.0007647/0.7883, allocations: 0.5146 MB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.7884, allocations: 8.922 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.7884, allocations: 50.73 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.789, allocations: 92.64 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.7891, allocations: 180.2 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-05/0.7892, allocations: 50.25 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.7892, allocations: 16.38 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.7896, allocations: 194.9 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.7896, allocations: 0 / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.7897, allocations: 8 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.7897, allocations: 4 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.7901, allocations: 175.9 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.7914, allocations: 0.9149 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.7919, allocations: 170.5 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.7921, allocations: 84.81 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/0.7927, allocations: 0.5181 MB / 1.174 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.7928, allocations: 38.56 kB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.7928, allocations: 0 / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0006747/0.7934, allocations: 243.1 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.7936, allocations: 51.41 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.7937, allocations: 156.9 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.7937, allocations: 37.62 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.7938, allocations: 123.6 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.7939, allocations: 47.3 kB / 1.175 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.7939, allocations: 37.7 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7941, allocations: 322.8 kB / 1.175 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.7943, allocations: 71.95 kB / 1.176 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.7945, allocations: 99.73 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.7948, allocations: 147.7 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7948, allocations: 0 / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005251/0.7954, allocations: 217.3 kB / 1.176 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7954, allocations: 12.03 kB / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7954, allocations: 0 / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.7954, allocations: 0 / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.7957, allocations: 39.91 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7957, allocations: 4 kB / 1.176 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.7958, allocations: 23.83 kB / 1.176 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.7959, allocations: 4 kB / 1.176 GB, free: 9.199 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.0001219/0.796, allocations: 129.8 kB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.796, allocations: 11.81 kB / 1.176 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.7966, allocations: 195.1 kB / 1.176 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.7966, allocations: 7.938 kB / 1.176 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7967, allocations: 0 / 1.176 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7967, allocations: 0 / 1.176 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.7981, allocations: 0.9895 MB / 1.177 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.7981, allocations: 4.062 kB / 1.177 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.7983, allocations: 31.92 kB / 1.177 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.7983, allocations: 3.984 kB / 1.177 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.7983, allocations: 11.98 kB / 1.177 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7983, allocations: 0 / 1.177 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7983, allocations: 0 / 1.177 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.7988, allocations: 290.2 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.7989, allocations: 88.92 kB / 1.178 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.7989, allocations: 7.938 kB / 1.178 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.7991, allocations: 19.97 kB / 1.178 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.7992, allocations: 11.92 kB / 1.178 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.7992, allocations: 8 kB / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.272e-05/0.7993, allocations: 125.7 kB / 1.178 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7993, allocations: 0 / 1.178 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004282/0.7997, allocations: 123.9 kB / 1.178 GB, free: 6.953 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.001108/0.8008, allocations: 0.9547 MB / 1.179 GB, free: 5.969 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.8013, allocations: 167.9 kB / 1.179 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8013, allocations: 0 / 1.179 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.8015, allocations: 83.89 kB / 1.179 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.8019, allocations: 49.22 kB / 1.179 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.8046, allocations: 2.065 MB / 1.181 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.805, allocations: 0.7047 MB / 1.182 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001327/0.8052, allocations: 34.98 kB / 1.182 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.8053, allocations: 43.42 kB / 1.182 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8053, allocations: 0 / 1.182 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.8295, allocations: 6.044 MB / 1.188 GB, free: 12.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.399, allocations: 11.75 kB / 1.188 GB, free: 12.82 MB / 0.92 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