Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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_ZeroInput,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_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,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_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6367, allocations: 140.4 MB / 0.9496 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002765/0.6395, allocations: 2.023 MB / 0.9516 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.6414, allocations: 1.657 MB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.6415, allocations: 1.219 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.117e-05/0.6415, allocations: 23 kB / 0.9532 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/0.6416, allocations: 57.14 kB / 0.9533 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.6425, allocations: 358.4 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.6427, allocations: 214.6 kB / 0.9538 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.6428, allocations: 64.34 kB / 0.9539 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.6429, allocations: 77.16 kB / 0.9539 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.643, allocations: 92.53 kB / 0.954 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.6431, allocations: 17.44 kB / 0.954 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.6438, allocations: 396.6 kB / 0.9544 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.6438, allocations: 45.61 kB / 0.9545 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.6439, allocations: 86.06 kB / 0.9545 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.6444, allocations: 429.7 kB / 0.955 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.6444, allocations: 0 / 0.955 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6444, allocations: 0 / 0.955 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6444, allocations: 0 / 0.955 GB, free: 5.34 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.000673/0.6451, allocations: 0.5151 MB / 0.9555 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.6451, allocations: 10.19 kB / 0.9555 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005843/0.6457, allocations: 85.95 kB / 0.9556 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.38e-05/0.6458, allocations: 180.7 kB / 0.9557 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.6459, allocations: 50.34 kB / 0.9558 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.6459, allocations: 17.77 kB / 0.9558 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.6463, allocations: 187.8 kB / 0.956 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6463, allocations: 3.938 kB / 0.956 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.6463, allocations: 5.031 kB / 0.956 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.6463, allocations: 4.469 kB / 0.956 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.6468, allocations: 182.7 kB / 0.9562 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.6479, allocations: 0.9135 MB / 0.957 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.6484, allocations: 175.5 kB / 0.9572 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.6486, allocations: 76.7 kB / 0.9573 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/0.6491, allocations: 0.5202 MB / 0.9578 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.6491, allocations: 40.7 kB / 0.9578 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.6491, allocations: 0 / 0.9578 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006963/0.6498, allocations: 238.4 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.6499, allocations: 53.09 kB / 0.9581 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.65, allocations: 158.8 kB / 0.9583 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.65, allocations: 27.2 kB / 0.9583 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.65, allocations: 126.2 kB / 0.9584 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.6501, allocations: 53.38 kB / 0.9585 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.6502, allocations: 38.39 kB / 0.9585 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.24e-05/0.6502, allocations: 329.2 kB / 0.9588 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.6504, allocations: 68.91 kB / 0.9589 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.6506, allocations: 96.89 kB / 0.959 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.651, allocations: 153 kB / 0.9591 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.651, allocations: 3.938 kB / 0.9591 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004677/0.6515, allocations: 203.9 kB / 0.9593 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6515, allocations: 5.031 kB / 0.9593 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6515, allocations: 3.984 kB / 0.9593 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6515, allocations: 2.25 kB / 0.9593 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.6518, allocations: 39.05 kB / 0.9594 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.6518, allocations: 10.17 kB / 0.9594 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.652, allocations: 23.95 kB / 0.9594 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.652, allocations: 8.469 kB / 0.9594 GB, free: 1.426 MB / 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 (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 8.323e-05/0.6521, allocations: 128.1 kB / 0.9595 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.6522, allocations: 14.62 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.6527, allocations: 198.5 kB / 0.9597 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.6527, allocations: 2.031 kB / 0.9597 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6527, allocations: 1.094 kB / 0.9597 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6527, allocations: 0 / 0.9597 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6539, allocations: 0.9817 MB / 0.9607 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.6539, allocations: 4.984 kB / 0.9607 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.6541, allocations: 29.36 kB / 0.9607 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.6542, allocations: 5.109 kB / 0.9607 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.6542, allocations: 10.81 kB / 0.9607 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6542, allocations: 5.172 kB / 0.9607 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6542, allocations: 0.75 kB / 0.9607 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.6547, allocations: 290.9 kB / 0.961 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.6548, allocations: 87.67 kB / 0.9611 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.6548, allocations: 6.781 kB / 0.9611 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.655, allocations: 11.52 kB / 0.9611 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.6551, allocations: 16.89 kB / 0.9611 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.6551, allocations: 9.109 kB / 0.9611 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.6552, allocations: 122.6 kB / 0.9613 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6552, allocations: 0 / 0.9613 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004697/0.6557, allocations: 126.6 kB / 0.9614 GB, free: 15.66 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 (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.0004282/0.6561, allocations: 227.1 kB / 0.9616 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005117/0.6566, allocations: 186.9 kB / 0.9618 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6567, allocations: 0 / 0.9618 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.6569, allocations: 88.27 kB / 0.9619 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.6573, allocations: 43.2 kB / 0.9619 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.6581, allocations: 342.5 kB / 0.9622 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.6583, allocations: 0.705 MB / 0.9629 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.6585, allocations: 28.89 kB / 0.9629 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.6586, allocations: 17.84 kB / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6586, allocations: 0 / 0.963 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.008069/0.6666, allocations: 4.273 MB / 0.9671 GB, free: 12.24 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches