Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009251/0.009251, allocations: 101.1 kB / 15.73 MB, free: 6.012 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.001921/0.001921, allocations: 187 kB / 16.67 MB, free: 5.949 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 68.11 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2955, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003898/0.2994, allocations: 2.032 MB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.302, allocations: 1.651 MB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.3021, allocations: 4 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.418e-05/0.3022, allocations: 15.84 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.3024, allocations: 51.56 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3035, allocations: 358.7 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.3038, allocations: 219.1 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.304, allocations: 53.47 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3041, allocations: 79.77 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3043, allocations: 83.73 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.3043, allocations: 20 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000784/0.3051, allocations: 415.5 kB / 1.213 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.3051, allocations: 39.84 kB / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3052, allocations: 91.64 kB / 1.213 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.306, allocations: 434.9 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.306, allocations: 0 / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.306, allocations: 0 / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.306, allocations: 4 kB / 1.213 GB, free: 4.102 MB / 0.9669 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.0008905/0.3069, allocations: 0.5147 MB / 1.214 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.307, allocations: 8.625 kB / 1.214 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.3076, allocations: 88.64 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3077, allocations: 180.2 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.3078, allocations: 54.25 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.3079, allocations: 12.38 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.3083, allocations: 186.4 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3083, allocations: 3.938 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3084, allocations: 12 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3084, allocations: 4 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.3089, allocations: 175.8 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.3104, allocations: 0.9189 MB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.3109, allocations: 174.5 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.3111, allocations: 80.81 kB / 1.215 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.3117, allocations: 0.5142 MB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3118, allocations: 42.55 kB / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/0.3118, allocations: 0 / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0007045/0.3125, allocations: 230.7 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3126, allocations: 55.41 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3128, allocations: 159 kB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3128, allocations: 41.64 kB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.3129, allocations: 115.8 kB / 1.217 GB, free: 176 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.3129, allocations: 47.36 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.313, allocations: 45.55 kB / 1.217 GB, free: 76 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3132, allocations: 322.8 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.3134, allocations: 71.95 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.3137, allocations: 99.67 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.3141, allocations: 142.9 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3141, allocations: 3.938 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005237/0.3147, allocations: 223 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3147, allocations: 7.984 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3147, allocations: 4 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3147, allocations: 0 / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.315, allocations: 31.98 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.315, allocations: 3.984 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3152, allocations: 31.7 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.3152, allocations: 8 kB / 1.218 GB, free: 15.12 MB / 0.9825 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.0001086/0.3153, allocations: 125.8 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.3154, allocations: 15.81 kB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.3159, allocations: 199.1 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.316, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.316, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.316, allocations: 8 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.3176, allocations: 0.9855 MB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3176, allocations: 0 / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.3178, allocations: 23.98 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.3178, allocations: 4 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3179, allocations: 4 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3179, allocations: 3.984 kB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3179, allocations: 11.94 kB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.3184, allocations: 289.9 kB / 1.219 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.3185, allocations: 92.86 kB / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.3185, allocations: 0 / 1.219 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3188, allocations: 15.98 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3188, allocations: 19.92 kB / 1.219 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3188, allocations: 7.984 kB / 1.219 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001024/0.319, allocations: 121.1 kB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.319, allocations: 0 / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004928/0.3195, allocations: 123.9 kB / 1.22 GB, free: 12.88 MB / 0.9825 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.0004831/0.32, allocations: 228.2 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005404/0.3205, allocations: 179.2 kB / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3205, allocations: 0 / 1.22 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.3207, allocations: 83.97 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.3212, allocations: 43.89 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.3219, allocations: 324.7 kB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3222, allocations: 0.7086 MB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.3224, allocations: 24.05 kB / 1.221 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.3225, allocations: 23.44 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3225, allocations: 0 / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.008365/0.3308, allocations: 4.335 MB / 1.225 GB, free: 6.941 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches