Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|com.pDis|com.pSuc|com.P|heaFloEva.Q_flow|heaFloCon.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 112 kB / 16.41 MB, free: 6.484 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.001354/0.001354, allocations: 183 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8875, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00305/0.8906, allocations: 2.028 MB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.893, allocations: 1.663 MB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.633e-05/0.8931, allocations: 0 / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.519e-05/0.8932, allocations: 23.78 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.8933, allocations: 47.5 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.8944, allocations: 358.8 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.8947, allocations: 223.1 kB / 1.213 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.8949, allocations: 49.48 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.895, allocations: 71.84 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.8952, allocations: 95.66 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.8952, allocations: 16 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.896, allocations: 415.5 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.8961, allocations: 39.91 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.19e-05/0.8962, allocations: 87.59 kB / 1.213 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.8967, allocations: 432.6 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8968, allocations: 0 / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8968, allocations: 7.938 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.8968, allocations: 0 / 1.214 GB, free: 8.102 MB / 0.9356 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.0008145/0.8976, allocations: 0.5108 MB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8977, allocations: 11.97 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/0.8983, allocations: 92.64 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.8984, allocations: 176.2 kB / 1.215 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.8985, allocations: 50.25 kB / 1.215 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.8985, allocations: 12.38 kB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.8989, allocations: 194 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.899, allocations: 3.938 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.899, allocations: 4 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.899, allocations: 4 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.8995, allocations: 179.9 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.9008, allocations: 0.9111 MB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.9013, allocations: 170.5 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.9015, allocations: 76.83 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.9022, allocations: 0.522 MB / 1.217 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.9022, allocations: 42.48 kB / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.9022, allocations: 4 kB / 1.217 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007091/0.903, allocations: 237 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.903, allocations: 51.41 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.9032, allocations: 160.7 kB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.9032, allocations: 25.7 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.9033, allocations: 123.8 kB / 1.217 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.9033, allocations: 51.3 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.9034, allocations: 33.7 kB / 1.217 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.9035, allocations: 326.8 kB / 1.218 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.9037, allocations: 67.97 kB / 1.218 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.9039, allocations: 98.86 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.9043, allocations: 156 kB / 1.218 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9043, allocations: 3.938 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005103/0.9048, allocations: 209.3 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9049, allocations: 8 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9049, allocations: 4.031 kB / 1.218 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.9049, allocations: 7.922 kB / 1.218 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.9052, allocations: 35.98 kB / 1.218 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.9052, allocations: 7.984 kB / 1.218 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.9054, allocations: 19.83 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.9054, allocations: 8 kB / 1.218 GB, free: 3.137 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.0001302/0.9055, allocations: 129.7 kB / 1.218 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.9056, allocations: 15.81 kB / 1.218 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005183/0.9061, allocations: 194.4 kB / 1.219 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9061, allocations: 4 kB / 1.219 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9061, allocations: 0 / 1.219 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.9062, allocations: 0 / 1.219 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.9076, allocations: 0.9893 MB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9076, allocations: 0 / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.9078, allocations: 36.03 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9078, allocations: 0 / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.9078, allocations: 8 kB / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.9078, allocations: 0 / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9078, allocations: 3.984 kB / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.9083, allocations: 293 kB / 1.22 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.9084, allocations: 89.02 kB / 1.22 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.9084, allocations: 4 kB / 1.22 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.9086, allocations: 15.98 kB / 1.22 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.9087, allocations: 11.92 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.9087, allocations: 7.984 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.701e-05/0.9088, allocations: 125.3 kB / 1.22 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9088, allocations: 0 / 1.22 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004751/0.9093, allocations: 131.8 kB / 1.22 GB, free: 0.8789 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.0004341/0.9097, allocations: 234.9 kB / 1.22 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.9102, allocations: 179.5 kB / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9102, allocations: 0 / 1.221 GB, free: 480 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.9104, allocations: 80.09 kB / 1.221 GB, free: 400 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.9109, allocations: 56.33 kB / 1.221 GB, free: 348 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.9116, allocations: 350.3 kB / 1.221 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.9119, allocations: 0.7047 MB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.912, allocations: 23.42 kB / 1.222 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of SimCode: time 3.4e-07/0.912, allocations: 4 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of Templates: time 0.006241/0.9182, allocations: 3.857 MB / 1.226 GB, free: 11.37 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches