Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: 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_9_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_9_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.001003/0.001003, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001029/0.001029, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003837, allocations: 8 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6522, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001986/0.6542, allocations: 1.679 MB / 0.9561 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.6562, allocations: 1.558 MB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.6563, allocations: 2.625 kB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.6564, allocations: 21 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.973e-05/0.6565, allocations: 48.86 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.6573, allocations: 256.3 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.6575, allocations: 209.2 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.6577, allocations: 40 kB / 0.9582 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.6578, allocations: 61.97 kB / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.6579, allocations: 84.88 kB / 0.9583 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.6579, allocations: 9.25 kB / 0.9583 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.6586, allocations: 377.1 kB / 0.9587 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.6586, allocations: 33.39 kB / 0.9587 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.6587, allocations: 60.89 kB / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.659, allocations: 307.7 kB / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.659, allocations: 0 / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.659, allocations: 0 / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6591, allocations: 1.375 kB / 0.959 GB, free: 4.289 MB / 0.7169 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.0005853/0.6596, allocations: 0.4905 MB / 0.9595 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6597, allocations: 13.62 kB / 0.9595 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.6602, allocations: 104.2 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/0.6603, allocations: 176.5 kB / 0.9598 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.6604, allocations: 46.06 kB / 0.9598 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.6604, allocations: 13.41 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.6608, allocations: 188.3 kB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6608, allocations: 0 / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.6608, allocations: 10.88 kB / 0.96 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6608, allocations: 6.094 kB / 0.9601 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.6613, allocations: 185.8 kB / 0.9602 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.6625, allocations: 0.9132 MB / 0.9611 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.6629, allocations: 193.6 kB / 0.9613 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.6631, allocations: 85.09 kB / 0.9614 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/0.6636, allocations: 0.5203 MB / 0.9619 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.6636, allocations: 35.55 kB / 0.9619 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.6636, allocations: 1 kB / 0.9619 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006169/0.6643, allocations: 237.3 kB / 0.9622 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.6643, allocations: 60.45 kB / 0.9622 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.6644, allocations: 162.4 kB / 0.9624 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.6644, allocations: 30.67 kB / 0.9624 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.6645, allocations: 122 kB / 0.9625 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.6645, allocations: 49.42 kB / 0.9626 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.6645, allocations: 5.031 kB / 0.9626 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.6646, allocations: 321.1 kB / 0.9629 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.6648, allocations: 76.45 kB / 0.9629 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.665, allocations: 97.92 kB / 0.963 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.6652, allocations: 74.11 kB / 0.9631 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6652, allocations: 1.188 kB / 0.9631 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004443/0.6656, allocations: 227.7 kB / 0.9633 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6656, allocations: 5.062 kB / 0.9633 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6657, allocations: 1.125 kB / 0.9633 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.6657, allocations: 1.312 kB / 0.9633 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.6659, allocations: 37.28 kB / 0.9634 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.6659, allocations: 1.25 kB / 0.9634 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.6661, allocations: 34.23 kB / 0.9634 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.6661, allocations: 4.844 kB / 0.9634 GB, free: 480 kB / 0.7169 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/0.6662, allocations: 131.8 kB / 0.9635 GB, free: 344 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.6662, allocations: 11.03 kB / 0.9635 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.6667, allocations: 211.2 kB / 0.9637 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6667, allocations: 5.219 kB / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6667, allocations: 0 / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6667, allocations: 1.094 kB / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.6681, allocations: 0.9963 MB / 0.9647 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6681, allocations: 0 / 0.9647 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.6683, allocations: 27.36 kB / 0.9648 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6683, allocations: 2.125 kB / 0.9648 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6683, allocations: 10.08 kB / 0.9648 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6683, allocations: 0.875 kB / 0.9648 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6683, allocations: 1.031 kB / 0.9648 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.6688, allocations: 306.8 kB / 0.9651 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.6689, allocations: 89 kB / 0.9651 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.669, allocations: 6.375 kB / 0.9652 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.6692, allocations: 18.3 kB / 0.9652 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.6692, allocations: 16.97 kB / 0.9652 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.6693, allocations: 4.375 kB / 0.9652 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001343/0.6694, allocations: 121.4 kB / 0.9653 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.988e-06/0.6694, allocations: 0 / 0.9653 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005102/0.6699, allocations: 130.3 kB / 0.9654 GB, free: 14.69 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/0.6704, allocations: 225.2 kB / 0.9656 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.6709, allocations: 192.7 kB / 0.9658 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6709, allocations: 0 / 0.9658 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.6711, allocations: 85.97 kB / 0.9659 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.6715, allocations: 41.81 kB / 0.966 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.6723, allocations: 387.3 kB / 0.9663 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.6725, allocations: 0.7101 MB / 0.967 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.6727, allocations: 34.19 kB / 0.967 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.6728, allocations: 18.56 kB / 0.9671 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.6728, allocations: 0 / 0.9671 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.008676/0.6815, allocations: 4.049 MB / 0.971 GB, free: 11.33 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches