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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001559/0.001559, allocations: 107 kB / 16.36 MB, free: 6.336 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.001709/0.001709, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 72.14 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00359/0.2966, allocations: 2.043 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.2994, allocations: 1.655 MB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2995, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.274e-05/0.2997, allocations: 23.78 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.2999, allocations: 55.55 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.3013, allocations: 354.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3016, allocations: 219.1 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3018, allocations: 45.48 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.302, allocations: 91.69 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.3022, allocations: 83.73 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.3022, allocations: 20 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008902/0.3031, allocations: 411.5 kB / 1.032 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.3032, allocations: 43.84 kB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3033, allocations: 83.66 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.3039, allocations: 431 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3039, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3039, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.304, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 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.000889/0.3048, allocations: 0.5109 MB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3049, allocations: 8.75 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006002/0.3055, allocations: 92.64 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3057, allocations: 184.1 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.801e-05/0.3058, allocations: 46.27 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.3058, allocations: 16.38 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.3063, allocations: 182.7 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3063, allocations: 3.938 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.3063, allocations: 8 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3064, allocations: 4 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.3068, allocations: 179.8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.3084, allocations: 0.9113 MB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.3089, allocations: 170.5 kB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.3091, allocations: 80.81 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/0.3098, allocations: 0.522 MB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3098, allocations: 38.56 kB / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 3.577e-06/0.3098, allocations: 0 / 1.035 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0006964/0.3105, allocations: 245.5 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3106, allocations: 51.41 kB / 1.035 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3107, allocations: 164.9 kB / 1.035 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3107, allocations: 25.7 kB / 1.035 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.3108, allocations: 119.8 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3109, allocations: 43.36 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.311, allocations: 37.7 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3111, allocations: 330.8 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3113, allocations: 75.95 kB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3115, allocations: 95.39 kB / 1.036 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.3119, allocations: 151.1 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3119, allocations: 3.938 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005118/0.3124, allocations: 209.5 kB / 1.036 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3125, allocations: 8 kB / 1.036 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3125, allocations: 4 kB / 1.036 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3125, allocations: 0 / 1.036 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3128, allocations: 43.91 kB / 1.037 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3128, allocations: 0 / 1.037 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.313, allocations: 27.77 kB / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.313, allocations: 8 kB / 1.037 GB, free: 7.512 MB / 0.8106 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.0001399/0.3131, allocations: 129.7 kB / 1.037 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.3132, allocations: 11.91 kB / 1.037 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.3137, allocations: 198.3 kB / 1.037 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3137, allocations: 0 / 1.037 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3137, allocations: 4 kB / 1.037 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3138, allocations: 4 kB / 1.037 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3152, allocations: 0.9779 MB / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3152, allocations: 0 / 1.038 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3154, allocations: 27.92 kB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.3154, allocations: 7.984 kB / 1.038 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3154, allocations: 0 / 1.038 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3154, allocations: 4 kB / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3155, allocations: 0 / 1.038 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004871/0.3159, allocations: 295.7 kB / 1.038 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.316, allocations: 88.95 kB / 1.038 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.3161, allocations: 8 kB / 1.038 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3163, allocations: 11.97 kB / 1.038 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.3164, allocations: 19.92 kB / 1.038 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3164, allocations: 8 kB / 1.038 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.627e-05/0.3165, allocations: 117.7 kB / 1.038 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3165, allocations: 4 kB / 1.038 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00048/0.317, allocations: 127.8 kB / 1.039 GB, free: 5.277 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.0004882/0.3175, allocations: 231 kB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.318, allocations: 174.4 kB / 1.039 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.318, allocations: 4 kB / 1.039 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.3182, allocations: 87.95 kB / 1.039 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.3186, allocations: 43.84 kB / 1.039 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.3193, allocations: 324.9 kB / 1.039 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.3196, allocations: 0.7047 MB / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001456/0.3197, allocations: 33.03 kB / 1.04 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.3198, allocations: 27.36 kB / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of SimCode: time 2.855e-06/0.3198, allocations: 0 / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.008648/0.3285, allocations: 4.26 MB / 1.044 GB, free: 15.4 MB / 0.8262 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 -s cvode -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/jenkins1/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