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: 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_10_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_10_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.001884/0.001884, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001987/0.001988, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.53/2.53, allocations: 437.1 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 63.19 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3317, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003965/0.3357, allocations: 2.033 MB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002768/0.3385, allocations: 1.663 MB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.3387, allocations: 4 kB / 1.022 GB, free: 6.941 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.455e-05/0.3388, allocations: 19.78 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.339, allocations: 51.55 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3404, allocations: 362.8 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.3407, allocations: 215.2 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.3409, allocations: 61.36 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.341, allocations: 83.72 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3412, allocations: 79.73 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3412, allocations: 20 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009525/0.3422, allocations: 395.5 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.3423, allocations: 43.84 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.3424, allocations: 83.66 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.3433, allocations: 427.2 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3433, allocations: 0 / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3433, allocations: 4 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3433, allocations: 0 / 1.023 GB, free: 5.125 MB / 0.795 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.0009709/0.3443, allocations: 0.5148 MB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3444, allocations: 12.92 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006311/0.345, allocations: 88.64 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3451, allocations: 180.1 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.807e-05/0.3453, allocations: 50.25 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.3453, allocations: 16.38 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.3457, allocations: 191.2 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3458, allocations: 3.938 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.3458, allocations: 4 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.3458, allocations: 4 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.3463, allocations: 179.8 kB / 1.025 GB, free: 3.797 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.3477, allocations: 0.8996 MB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.3483, allocations: 186.9 kB / 1.026 GB, free: 2.578 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.3485, allocations: 81.06 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.3491, allocations: 0.5181 MB / 1.026 GB, free: 1.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.3492, allocations: 42.56 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.3492, allocations: 0 / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.0007058/0.3499, allocations: 226.5 kB / 1.026 GB, free: 1.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.35, allocations: 59.39 kB / 1.026 GB, free: 1.52 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3501, allocations: 164.8 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3501, allocations: 37.69 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.3502, allocations: 111.8 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.3503, allocations: 47.36 kB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.3504, allocations: 37.7 kB / 1.027 GB, free: 1.105 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.3505, allocations: 326.8 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3507, allocations: 75.95 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3509, allocations: 93.67 kB / 1.027 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.3513, allocations: 147.2 kB / 1.027 GB, free: 468 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3513, allocations: 3.938 kB / 1.027 GB, free: 464 kB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005049/0.3518, allocations: 223.6 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3519, allocations: 4 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3519, allocations: 0 / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3519, allocations: 4 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.3521, allocations: 39.91 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3522, allocations: 0 / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.3524, allocations: 27.77 kB / 1.028 GB, free: 160 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3524, allocations: 4 kB / 1.028 GB, free: 156 kB / 0.795 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.0001167/0.3525, allocations: 129.8 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.3526, allocations: 11.91 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.3531, allocations: 201.3 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3531, allocations: 0 / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3531, allocations: 4 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3531, allocations: 4 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3546, allocations: 0.9777 MB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3546, allocations: 4 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3548, allocations: 31.92 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.3548, allocations: 4 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.3548, allocations: 3.984 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3548, allocations: 0 / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3548, allocations: 4 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.3553, allocations: 293 kB / 1.029 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.3554, allocations: 88.95 kB / 1.029 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/0.3554, allocations: 3.938 kB / 1.029 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.3557, allocations: 19.97 kB / 1.029 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.3557, allocations: 23.86 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.3557, allocations: 8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.351e-05/0.3558, allocations: 115.2 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3558, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004739/0.3563, allocations: 127.9 kB / 1.03 GB, free: 13.91 MB / 0.8106 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.000473/0.3568, allocations: 227 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3573, allocations: 179.8 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3573, allocations: 0 / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3575, allocations: 87.95 kB / 1.03 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.358, allocations: 41.3 kB / 1.03 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.3587, allocations: 358.5 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.359, allocations: 0.7086 MB / 1.031 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.3591, allocations: 23.42 kB / 1.031 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 3.5e-07/0.3591, allocations: 0 / 1.031 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.00703/0.3662, allocations: 3.861 MB / 1.035 GB, free: 8.402 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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