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.0007878/0.0007878, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004739/0.00474, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.45/2.45, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6792, allocations: 142.4 MB / 0.955 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002158/0.6814, allocations: 1.736 MB / 0.9567 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.6837, allocations: 1.703 MB / 0.9584 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.6839, allocations: 1.594 kB / 0.9584 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.6839, allocations: 17.34 kB / 0.9584 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.6841, allocations: 45.61 kB / 0.9585 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6851, allocations: 291.8 kB / 0.9587 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.6853, allocations: 217.8 kB / 0.9589 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.6855, allocations: 42.36 kB / 0.959 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.6857, allocations: 67.89 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.6858, allocations: 76.56 kB / 0.9591 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.6859, allocations: 13.62 kB / 0.9591 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.6867, allocations: 388.6 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.6868, allocations: 29.16 kB / 0.9595 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.6869, allocations: 104.9 kB / 0.9596 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.6875, allocations: 421.1 kB / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6876, allocations: 0 / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6876, allocations: 0.9375 kB / 0.96 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.6876, allocations: 4 kB / 0.96 GB, free: 3.887 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.0008003/0.6884, allocations: 497.7 kB / 0.9605 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6884, allocations: 10.19 kB / 0.9605 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006291/0.6891, allocations: 101.7 kB / 0.9606 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.6892, allocations: 176.4 kB / 0.9608 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.929e-05/0.6893, allocations: 54.62 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.6893, allocations: 17.94 kB / 0.9609 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.6898, allocations: 190.9 kB / 0.961 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6898, allocations: 3.938 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.6898, allocations: 5.375 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.6898, allocations: 4.125 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004798/0.6903, allocations: 189.3 kB / 0.9612 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.6916, allocations: 0.918 MB / 0.9621 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005455/0.6922, allocations: 186.4 kB / 0.9623 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.6924, allocations: 88.97 kB / 0.9624 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/0.6929, allocations: 0.5242 MB / 0.9629 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.693, allocations: 36.5 kB / 0.9629 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.693, allocations: 0 / 0.9629 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0007307/0.6937, allocations: 247.1 kB / 0.9632 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.6938, allocations: 56.73 kB / 0.9632 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.6939, allocations: 156.7 kB / 0.9634 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.6939, allocations: 34.78 kB / 0.9634 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.694, allocations: 114 kB / 0.9635 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.694, allocations: 49.83 kB / 0.9636 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.6941, allocations: 17.44 kB / 0.9636 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.6941, allocations: 330.8 kB / 0.9639 GB, free: 336 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.6943, allocations: 79.98 kB / 0.964 GB, free: 296 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.6946, allocations: 96.39 kB / 0.9641 GB, free: 240 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.695, allocations: 158.8 kB / 0.9642 GB, free: 152 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.695, allocations: 4.906 kB / 0.9642 GB, free: 148 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004982/0.6955, allocations: 226.8 kB / 0.9644 GB, free: 20 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6955, allocations: 6.812 kB / 0.9645 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.6955, allocations: 1.344 kB / 0.9645 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6955, allocations: 0.9688 kB / 0.9645 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.6958, allocations: 38.19 kB / 0.9645 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6958, allocations: 5.25 kB / 0.9645 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.696, allocations: 25.7 kB / 0.9645 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.6961, allocations: 9 kB / 0.9645 GB, free: 15.99 MB / 0.7325 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.0001241/0.6962, allocations: 128.3 kB / 0.9647 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.6962, allocations: 14.19 kB / 0.9647 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.6968, allocations: 210.5 kB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6968, allocations: 5.578 kB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6968, allocations: 0 / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6969, allocations: 1.406 kB / 0.9649 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.6983, allocations: 0.9803 MB / 0.9658 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6983, allocations: 5.219 kB / 0.9658 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.6986, allocations: 31.81 kB / 0.9659 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6986, allocations: 5.188 kB / 0.9659 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.6986, allocations: 6.625 kB / 0.9659 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6986, allocations: 5 kB / 0.9659 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6986, allocations: 1.188 kB / 0.9659 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.6991, allocations: 306.7 kB / 0.9662 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.6992, allocations: 92.81 kB / 0.9663 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.6993, allocations: 4 kB / 0.9663 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.6995, allocations: 22.56 kB / 0.9663 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.6996, allocations: 15.42 kB / 0.9663 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.6996, allocations: 7.156 kB / 0.9663 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.6997, allocations: 121.2 kB / 0.9664 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6997, allocations: 0 / 0.9664 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005184/0.7002, allocations: 128.1 kB / 0.9665 GB, free: 14.21 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.0005158/0.7007, allocations: 223.4 kB / 0.9668 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.7013, allocations: 188.9 kB / 0.9669 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.7013, allocations: 0 / 0.9669 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.7015, allocations: 91.55 kB / 0.967 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.702, allocations: 48.58 kB / 0.9671 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.7027, allocations: 389.2 kB / 0.9674 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.703, allocations: 0.7094 MB / 0.9681 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.7032, allocations: 28.95 kB / 0.9682 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.7033, allocations: 18.44 kB / 0.9682 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.7033, allocations: 0 / 0.9682 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.009334/0.7126, allocations: 4.13 MB / 0.9722 GB, free: 10.81 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