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.00144/0.00144, 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.00189/0.00189, allocations: 195.1 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.296/2.296, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5847, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002754/0.5875, allocations: 2.023 MB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.5895, allocations: 1.658 MB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.5896, allocations: 2.531 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.78e-05/0.5897, allocations: 21.12 kB / 0.9532 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.5898, allocations: 49.89 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.5906, allocations: 358.7 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.5908, allocations: 219.3 kB / 0.9538 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.591, allocations: 65.19 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.5911, allocations: 76.59 kB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.5912, allocations: 80.78 kB / 0.954 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.5912, allocations: 22.36 kB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.592, allocations: 404.1 kB / 0.9544 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.592, allocations: 42.28 kB / 0.9545 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.5921, allocations: 84.61 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.5926, allocations: 433.5 kB / 0.9549 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5926, allocations: 1.188 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.585e-06/0.5926, allocations: 0 / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5927, allocations: 0 / 0.955 GB, free: 5.066 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.0006949/0.5934, allocations: 0.5185 MB / 0.9555 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.5934, allocations: 10.16 kB / 0.9555 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.594, allocations: 94.23 kB / 0.9556 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.059e-05/0.5941, allocations: 176.2 kB / 0.9557 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.5941, allocations: 50.81 kB / 0.9558 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5942, allocations: 18.86 kB / 0.9558 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.5945, allocations: 183.9 kB / 0.956 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.5946, allocations: 7.922 kB / 0.956 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.5946, allocations: 4 kB / 0.956 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5946, allocations: 3.594 kB / 0.956 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.595, allocations: 182.7 kB / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.5961, allocations: 0.9105 MB / 0.957 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/0.5966, allocations: 175 kB / 0.9572 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.5968, allocations: 77.8 kB / 0.9573 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.5973, allocations: 0.5234 MB / 0.9578 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5974, allocations: 35.84 kB / 0.9578 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.5974, allocations: 1.281 kB / 0.9578 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0006668/0.5981, allocations: 235.3 kB / 0.9581 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.5981, allocations: 52.75 kB / 0.9581 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.5982, allocations: 158.8 kB / 0.9583 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.5982, allocations: 30.98 kB / 0.9583 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.5983, allocations: 117.4 kB / 0.9584 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.5983, allocations: 53.44 kB / 0.9585 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.5984, allocations: 40.2 kB / 0.9585 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.5984, allocations: 324.8 kB / 0.9588 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.5986, allocations: 67.59 kB / 0.9589 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5988, allocations: 99.09 kB / 0.959 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.5992, allocations: 148.8 kB / 0.9591 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5992, allocations: 3.938 kB / 0.9591 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004648/0.5997, allocations: 212.2 kB / 0.9593 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5997, allocations: 5.5 kB / 0.9593 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5997, allocations: 0 / 0.9593 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5997, allocations: 1.375 kB / 0.9593 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.6, allocations: 40.88 kB / 0.9594 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6, allocations: 1.375 kB / 0.9594 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.6002, allocations: 31.97 kB / 0.9594 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.6002, allocations: 8.062 kB / 0.9594 GB, free: 1.152 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 7.996e-05/0.6003, allocations: 128.6 kB / 0.9595 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.6003, allocations: 10.78 kB / 0.9595 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.6008, allocations: 205.7 kB / 0.9597 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6008, allocations: 2.094 kB / 0.9597 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6009, allocations: 3.938 kB / 0.9597 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6009, allocations: 1.062 kB / 0.9597 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.6021, allocations: 0.977 MB / 0.9607 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6021, allocations: 1.125 kB / 0.9607 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.6024, allocations: 34.5 kB / 0.9607 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6024, allocations: 4.859 kB / 0.9607 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.6024, allocations: 5.75 kB / 0.9607 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.6024, allocations: 2.156 kB / 0.9607 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6024, allocations: 0 / 0.9607 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.603, allocations: 302.3 kB / 0.961 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.603, allocations: 85.48 kB / 0.9611 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.6031, allocations: 1.344 kB / 0.9611 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6033, allocations: 19.95 kB / 0.9611 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.6034, allocations: 13.36 kB / 0.9611 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.6034, allocations: 12.39 kB / 0.9611 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.344e-05/0.6035, allocations: 118.7 kB / 0.9613 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6035, allocations: 1.188 kB / 0.9613 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004632/0.604, allocations: 133.3 kB / 0.9614 GB, free: 15.38 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.0004262/0.6044, allocations: 225.9 kB / 0.9616 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.6049, allocations: 185.6 kB / 0.9618 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6049, allocations: 0 / 0.9618 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.6052, allocations: 83.67 kB / 0.9619 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.6056, allocations: 43.47 kB / 0.9619 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.6063, allocations: 328.8 kB / 0.9622 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.6066, allocations: 0.7093 MB / 0.9629 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001623/0.6068, allocations: 29.39 kB / 0.9629 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.6069, allocations: 18.81 kB / 0.9629 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6069, allocations: 0 / 0.9629 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.007962/0.6148, allocations: 4.26 MB / 0.9671 GB, free: 11.97 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