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.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,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.001609/0.001609, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001821/0.001821, allocations: 188.5 kB / 16.25 MB, free: 6.633 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.336/2.336, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6166/0.6179, allocations: 140.4 MB / 0.9491 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003096/0.621, allocations: 2.08 MB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.623, allocations: 1.65 MB / 0.9527 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-05/0.6231, allocations: 1.688 kB / 0.9527 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.174e-05/0.6232, allocations: 17.47 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.6233, allocations: 41.47 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.6242, allocations: 311.6 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.6244, allocations: 226.6 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.6245, allocations: 56.31 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.6246, allocations: 81.44 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.6248, allocations: 84.91 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.6248, allocations: 17.56 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006975/0.6255, allocations: 413.8 kB / 0.9539 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.6256, allocations: 45.89 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.6256, allocations: 91.84 kB / 0.9541 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.6261, allocations: 430.4 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6261, allocations: 1.281 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6261, allocations: 0 / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6262, allocations: 0 / 0.9545 GB, free: 5.023 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.0006964/0.6269, allocations: 0.5149 MB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.6269, allocations: 10.12 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006008/0.6275, allocations: 89.05 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.665e-05/0.6276, allocations: 181.5 kB / 0.9552 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.6277, allocations: 53.73 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.6277, allocations: 14.59 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004099/0.6281, allocations: 186 kB / 0.9555 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6282, allocations: 5.156 kB / 0.9555 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.6282, allocations: 5.219 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.6282, allocations: 3.625 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.6286, allocations: 174.8 kB / 0.9557 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.6298, allocations: 0.9191 MB / 0.9566 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000466/0.6303, allocations: 174.7 kB / 0.9567 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.6305, allocations: 76.64 kB / 0.9568 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/0.631, allocations: 0.5238 MB / 0.9573 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.631, allocations: 37.22 kB / 0.9574 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.631, allocations: 0 / 0.9574 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.000684/0.6317, allocations: 234.8 kB / 0.9576 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.6318, allocations: 61.19 kB / 0.9576 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.6319, allocations: 156 kB / 0.9578 GB, free: 2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6319, allocations: 30.98 kB / 0.9578 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.632, allocations: 122 kB / 0.9579 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.632, allocations: 52.94 kB / 0.958 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.6321, allocations: 38.08 kB / 0.958 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/0.6322, allocations: 323 kB / 0.9583 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.6324, allocations: 71.72 kB / 0.9584 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.6326, allocations: 102.8 kB / 0.9585 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.6329, allocations: 141 kB / 0.9586 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6329, allocations: 3.938 kB / 0.9586 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004548/0.6334, allocations: 217.2 kB / 0.9588 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.6334, allocations: 6.625 kB / 0.9588 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6334, allocations: 0 / 0.9588 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.6334, allocations: 5.359 kB / 0.9589 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.6337, allocations: 31.39 kB / 0.9589 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6337, allocations: 2.531 kB / 0.9589 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.6339, allocations: 35.59 kB / 0.9589 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.6339, allocations: 8.562 kB / 0.9589 GB, free: 1.109 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.752e-05/0.634, allocations: 128.2 kB / 0.959 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.634, allocations: 11.31 kB / 0.9591 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.6345, allocations: 209.6 kB / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6345, allocations: 2.625 kB / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6346, allocations: 0 / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.6346, allocations: 0 / 0.9593 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6358, allocations: 0.9785 MB / 0.9602 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6358, allocations: 1.062 kB / 0.9602 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.6361, allocations: 33.09 kB / 0.9602 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.6361, allocations: 2.281 kB / 0.9603 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.6361, allocations: 0.9375 kB / 0.9603 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.6361, allocations: 1.719 kB / 0.9603 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.6361, allocations: 12.86 kB / 0.9603 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.6366, allocations: 294 kB / 0.9605 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.6367, allocations: 85.42 kB / 0.9606 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.6367, allocations: 5.562 kB / 0.9606 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.637, allocations: 16.05 kB / 0.9606 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.637, allocations: 12.98 kB / 0.9607 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.637, allocations: 11.89 kB / 0.9607 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.6371, allocations: 119.4 kB / 0.9608 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6371, allocations: 5 kB / 0.9608 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005056/0.6376, allocations: 125.6 kB / 0.9609 GB, free: 15.34 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.0004822/0.6381, allocations: 228.9 kB / 0.9611 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.6386, allocations: 186.1 kB / 0.9613 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6387, allocations: 0 / 0.9613 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.6389, allocations: 88.7 kB / 0.9614 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.6393, allocations: 43 kB / 0.9614 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.64, allocations: 377.3 kB / 0.9618 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.6402, allocations: 0.7094 MB / 0.9625 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.6404, allocations: 26.58 kB / 0.9625 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.6405, allocations: 17.41 kB / 0.9625 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6405, allocations: 0 / 0.9625 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.007909/0.6484, allocations: 4.253 MB / 0.9667 GB, free: 11.88 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