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.001093/0.001093, allocations: 104.3 kB / 16.36 MB, free: 6.289 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.001054/0.001054, allocations: 192 kB / 17.29 MB, free: 5.863 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.414/2.414, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 66.72 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2776, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003216/0.2809, allocations: 2.039 MB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.2832, allocations: 1.674 MB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.2833, allocations: 4 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.731e-05/0.2834, allocations: 15.8 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2835, allocations: 51.55 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.2845, allocations: 350.8 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2847, allocations: 223.1 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2848, allocations: 61.39 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.2849, allocations: 79.77 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2851, allocations: 83.73 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.2851, allocations: 20 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007215/0.2858, allocations: 411.5 kB / 1.032 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.2859, allocations: 47.84 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.154e-05/0.286, allocations: 83.66 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.2865, allocations: 430.9 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2866, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2866, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.2866, allocations: 0 / 1.032 GB, free: 12.51 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.0007683/0.2873, allocations: 0.507 MB / 1.033 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2874, allocations: 19.97 kB / 1.033 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005374/0.2879, allocations: 80.66 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2881, allocations: 192.1 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.2881, allocations: 50.25 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.2882, allocations: 16.38 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.2886, allocations: 178.7 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2886, allocations: 3.938 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2886, allocations: 8 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2886, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.2891, allocations: 183.8 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2903, allocations: 0.9073 MB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.2908, allocations: 174.5 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.291, allocations: 76.83 kB / 1.034 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/0.2917, allocations: 0.5259 MB / 1.035 GB, free: 9.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2917, allocations: 34.56 kB / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 2.665e-06/0.2917, allocations: 0 / 1.035 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.0006873/0.2924, allocations: 244.8 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.2925, allocations: 55.41 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2926, allocations: 164.9 kB / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.2926, allocations: 33.7 kB / 1.035 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.2927, allocations: 111.8 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.2927, allocations: 47.36 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.2928, allocations: 37.7 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2929, allocations: 322.8 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2931, allocations: 75.89 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2933, allocations: 95.39 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.2937, allocations: 155.3 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2937, allocations: 3.938 kB / 1.036 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000474/0.2942, allocations: 217.4 kB / 1.036 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2942, allocations: 4 kB / 1.036 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2942, allocations: 0 / 1.036 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2942, allocations: 4 kB / 1.036 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.2945, allocations: 35.97 kB / 1.037 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2945, allocations: 0 / 1.037 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2947, allocations: 27.77 kB / 1.037 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2947, allocations: 8.031 kB / 1.037 GB, free: 7.539 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.0001088/0.2948, allocations: 133.7 kB / 1.037 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2949, allocations: 11.91 kB / 1.037 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.2954, allocations: 194.3 kB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2954, allocations: 4 kB / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2954, allocations: 0 / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2954, allocations: 3.984 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.2968, allocations: 0.9856 MB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2968, allocations: 4 kB / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.297, allocations: 31.97 kB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.297, allocations: 0 / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.297, allocations: 4 kB / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2971, allocations: 0 / 1.038 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2971, allocations: 4 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.2975, allocations: 293 kB / 1.038 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.2976, allocations: 88.95 kB / 1.038 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.2976, allocations: 3.984 kB / 1.038 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.2978, allocations: 19.98 kB / 1.038 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.2979, allocations: 15.92 kB / 1.038 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2979, allocations: 8 kB / 1.038 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.113e-05/0.298, allocations: 118.3 kB / 1.038 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.298, allocations: 0 / 1.038 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004388/0.2985, allocations: 131.8 kB / 1.039 GB, free: 5.293 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.000408/0.2989, allocations: 231 kB / 1.039 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.2993, allocations: 178.1 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2994, allocations: 4.062 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2996, allocations: 83.89 kB / 1.039 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.2999, allocations: 44.66 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.3006, allocations: 324.9 kB / 1.039 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.3008, allocations: 0.7086 MB / 1.04 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.301, allocations: 24.42 kB / 1.04 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.301, allocations: 23.42 kB / 1.04 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of SimCode: time 1.352e-06/0.301, allocations: 8 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of Templates: time 0.007391/0.3084, allocations: 4.252 MB / 1.044 GB, free: 15.43 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 gbode -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